本文整理了Java中com.google.gwt.dom.client.Element.getNextSibling()
方法的一些代码示例,展示了Element.getNextSibling()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Element.getNextSibling()
方法的具体详情如下:
包路径:com.google.gwt.dom.client.Element
类名称:Element
方法名:getNextSibling
[英]The element immediately following this element. If there is no such element, this returns null.
[中]紧跟在该元素后面的元素。如果没有这样的元素,则返回null。
代码示例来源:origin: com.google.gwt/gwt-servlet
/**
* Gets an element's next sibling element.
*
* @param elem the element whose sibling is to be retrieved
* @return the sibling element
*/
public static com.google.gwt.user.client.Element getNextSibling(Element elem) {
return elem.getNextSibling().cast();
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
/**
* Gets an element's next sibling element.
*
* @param elem the element whose sibling is to be retrieved
* @return the sibling element
*/
public static com.google.gwt.user.client.Element getNextSibling(Element elem) {
return elem.getNextSibling().cast();
}
代码示例来源:origin: net.wetheinter/gwt-user
/**
* Gets an element's next sibling element.
*
* @param elem the element whose sibling is to be retrieved
* @return the sibling element
*/
public static com.google.gwt.user.client.Element getNextSibling(Element elem) {
return elem.getNextSibling().cast();
}
代码示例来源:origin: com.googlecode.gwtquery/gwtquery
break;
case AFTER:
newNodes.addNode(e.getParentNode().insertBefore(n, e.getNextSibling()));
break;
case BEFORE:
内容来源于网络,如有侵权,请联系作者删除!