本文整理了Java中com.google.gwt.user.client.Element.insertAfter()
方法的一些代码示例,展示了Element.insertAfter()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Element.insertAfter()
方法的具体详情如下:
包路径:com.google.gwt.user.client.Element
类名称:Element
方法名:insertAfter
暂无
代码示例来源:origin: gwtbootstrap3/gwtbootstrap3
private void render() {
if (iconPosition == IconPosition.LEFT) {
getElement().insertAfter(icon.getElement(), inputElem);
} else {
getElement().insertAfter(icon.getElement(), null);
}
}
代码示例来源:origin: gwtbootstrap3/gwtbootstrap3
private void render() {
if (iconPosition == IconPosition.LEFT) {
getElement().insertAfter(icon.getElement(), inputElem);
} else {
getElement().insertAfter(icon.getElement(), null);
}
}
代码示例来源:origin: org.gwtbootstrap3/gwtbootstrap3
private void render() {
if (iconPosition == IconPosition.LEFT) {
getElement().insertAfter(icon.getElement(), inputElem);
} else {
getElement().insertAfter(icon.getElement(), null);
}
}
代码示例来源:origin: org.gwtbootstrap3/gwtbootstrap3
private void render() {
if (iconPosition == IconPosition.LEFT) {
getElement().insertAfter(icon.getElement(), inputElem);
} else {
getElement().insertAfter(icon.getElement(), null);
}
}
代码示例来源:origin: jqm4gwt/jqm4gwt
public void setSplitHref(String url) {
if (url == null) {
if (split != null) {
getElement().removeChild(split);
split = null;
checkSplitPadding();
}
return;
}
if (split != null) return;
if (anchor == null) setUrl("#");
split = Document.get().createAnchorElement();
split.setAttribute("href", url);
getElement().insertAfter(split, anchor);
setSplitTheme(splitTheme);
checkSplitPadding();
}
代码示例来源:origin: com.sksamuel.jqm4gwt/jqm4gwt-library
public void setSplitHref(String url) {
if (url == null) {
if (split != null) {
getElement().removeChild(split);
split = null;
checkSplitPadding();
}
return;
}
if (split != null) return;
if (anchor == null) setUrl("#");
split = Document.get().createAnchorElement();
split.setAttribute("href", url);
getElement().insertAfter(split, anchor);
setSplitTheme(splitTheme);
checkSplitPadding();
}
代码示例来源:origin: com.sksamuel.jqm4gwt/jqm4gwt-standalone
public void setSplitHref(String url) {
if (url == null) {
if (split != null) {
getElement().removeChild(split);
split = null;
checkSplitPadding();
}
return;
}
if (split != null) return;
if (anchor == null) setUrl("#");
split = Document.get().createAnchorElement();
split.setAttribute("href", url);
getElement().insertAfter(split, anchor);
setSplitTheme(splitTheme);
checkSplitPadding();
}
代码示例来源:origin: com.sksamuel.jqm4gwt/jqm4gwt-library
/**
* Sets the header element, overriding an existing header if any.
*/
public void setHeader(HasJqmHeader header) {
removeHeader();
this.header = header;
if (this.header == null) return;
addLogical(header.getHeaderStage());
if (panel == null) {
getElement().insertBefore(header.getJqmHeader().getElement(), getElement().getFirstChild());
} else {
getElement().insertAfter(header.getJqmHeader().getElement(), panel.getElement());
}
}
代码示例来源:origin: jqm4gwt/jqm4gwt
/**
* Sets the header element, overriding an existing header if any.
*/
public void setHeader(HasJqmHeader header) {
removeHeader();
this.header = header;
if (this.header == null) return;
addLogical(header.getHeaderStage());
if (panel == null) {
getElement().insertBefore(header.getJqmHeader().getElement(), getElement().getFirstChild());
} else {
getElement().insertAfter(header.getJqmHeader().getElement(), panel.getElement());
}
}
代码示例来源:origin: com.sksamuel.jqm4gwt/jqm4gwt-standalone
/**
* Sets the header element, overriding an existing header if any.
*/
public void setHeader(HasJqmHeader header) {
removeHeader();
this.header = header;
if (this.header == null) return;
addLogical(header.getHeaderStage());
if (panel == null) {
getElement().insertBefore(header.getJqmHeader().getElement(), getElement().getFirstChild());
} else {
getElement().insertAfter(header.getJqmHeader().getElement(), panel.getElement());
}
}
代码示例来源:origin: org.kie.workbench.screens/kie-wb-common-server-ui-client
@Override
public void setup(final NotificationType type,
final String size,
final String popOverMessage) {
setup(type,
size);
final Widget parent = this.size.getParent();
final Popover popover = new Popover(this.size);
popover.setTrigger(Trigger.CLICK);
popover.setPlacement(Placement.RIGHT);
popover.setTitle(getTitleText());
popover.setContent(popOverMessage);
parent.getElement().insertAfter(popover.asWidget().getElement(),
icon.getElement());
popover.init();
}
代码示例来源:origin: com.haulmont.cuba/cuba-web-toolkit
getWrapperElement().insertAfter(rightCaption, getWidget().getElement());
代码示例来源:origin: info.magnolia.ui/magnolia-ui-vaadin-common-widgets
scroller.getElement().insertAfter(lowerSpacer, imageContainer);
内容来源于网络,如有侵权,请联系作者删除!