class WidgetIterators
extends java.lang.Object
HasWidgets
without having to
implement their own Iterator
.Modifier and Type | Method and Description |
---|---|
(package private) static java.util.Iterator<Widget> |
createWidgetIterator(HasWidgets container,
Widget[] contained)
Wraps an array of widgets to be returned during iteration.
|
static final java.util.Iterator<Widget> createWidgetIterator(HasWidgets container, Widget[] contained)
null
is allowed in the array and will be skipped during
iteration.container
- the container of the widgets in contained
contained
- the array of widgets