Package com.google.gwt.user.client.ui
Class WidgetIterators
java.lang.Object
com.google.gwt.user.client.ui.WidgetIterators
A collection of convenience factories for creating iterators for widgets.
This mostly helps developers support
HasWidgets
without having to
implement their own Iterator
.-
Method Summary
Modifier and TypeMethodDescriptioncreateWidgetIterator
(HasWidgets container, Widget[] contained) Wraps an array of widgets to be returned during iteration.
-
Method Details
-
createWidgetIterator
Wraps an array of widgets to be returned during iteration.null
is allowed in the array and will be skipped during iteration.- Parameters:
container
- the container of the widgets incontained
contained
- the array of widgets- Returns:
- the iterator
-