本文整理了Java中com.google.gwt.user.client.ui.Panel.iterator()
方法的一些代码示例,展示了Panel.iterator()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Panel.iterator()
方法的具体详情如下:
包路径:com.google.gwt.user.client.ui.Panel
类名称:Panel
方法名:iterator
暂无
代码示例来源:origin: com.google.gwt/gwt-servlet
public void clear() {
Iterator<Widget> it = iterator();
while (it.hasNext()) {
it.next();
it.remove();
}
}
代码示例来源:origin: com.googlecode.mgwt/mgwt
@Override
public Iterator<Widget> iterator() {
return container.iterator();
}
代码示例来源:origin: dankurka/mgwt
@Override
public Iterator<Widget> iterator() {
return container.iterator();
}
代码示例来源:origin: com.vaadin.external.gwt/gwt-user
public void clear() {
Iterator<Widget> it = iterator();
while (it.hasNext()) {
it.next();
it.remove();
}
}
代码示例来源:origin: net.wetheinter/gwt-user
public void clear() {
Iterator<Widget> it = iterator();
while (it.hasNext()) {
it.next();
it.remove();
}
}
代码示例来源:origin: gwt-test-utils/gwt-test-utils
private int getWigetCount(A actual) {
if (actual instanceof IndexedPanel) {
return ((IndexedPanel) actual).getWidgetCount();
} else if (actual instanceof SimplePanel) {
return 1;
}
Iterator<Widget> it = actual.iterator();
int count = 0;
while (it.hasNext()) {
count++;
it.next();
}
return count;
}
代码示例来源:origin: com.googlecode.gwt-test-utils/gwt-test-utils
private int getWigetCount(A actual) {
if (actual instanceof IndexedPanel) {
return ((IndexedPanel) actual).getWidgetCount();
} else if (actual instanceof SimplePanel) {
return 1;
}
Iterator<Widget> it = actual.iterator();
int count = 0;
while (it.hasNext()) {
count++;
it.next();
}
return count;
}
代码示例来源:origin: com.googlecode.gwtquery/gwtquery
/**
* Return children of the first widget's panel.
*/
public static Iterator<Widget> getChildren(Widget w) {
if (w instanceof Panel) {
return ((Panel) w).iterator();
}
if (w instanceof Composite) {
return getChildren(compositeGetWidget((Composite) w));
}
return null;
}
代码示例来源:origin: stackoverflow.com
final Iterator<Widget> iterator = panel.iterator();
while (iterator.hasNext()) {
WidgetValidator.validateWidget(iterator.next());
内容来源于网络,如有侵权,请联系作者删除!