Package com.google.gwt.user.client.ui
Class WidgetIterators
- java.lang.Object
-
- com.google.gwt.user.client.ui.WidgetIterators
-
class WidgetIterators extends java.lang.ObjectA collection of convenience factories for creating iterators for widgets. This mostly helps developers supportHasWidgetswithout having to implement their ownIterator.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static java.util.Iterator<Widget>createWidgetIterator(HasWidgets container, Widget[] contained)Wraps an array of widgets to be returned during iteration.
-
-
-
Method Detail
-
createWidgetIterator
static final java.util.Iterator<Widget> createWidgetIterator(HasWidgets container, Widget[] contained)
Wraps an array of widgets to be returned during iteration.nullis allowed in the array and will be skipped during iteration.- Parameters:
container- the container of the widgets incontainedcontained- the array of widgets- Returns:
- the iterator
-
-