Class FiniteWidgetIterator

java.lang.Object
com.google.gwt.user.client.ui.FiniteWidgetIterator
All Implemented Interfaces:
Iterator<Widget>

class FiniteWidgetIterator extends Object implements Iterator<Widget>
Iterator over a finite number of widgets, which are stored in a delegate class (usually a widget panel).

In order to use this class, assign each widget in the panel an arbitrary index. For example, HeaderPanel defines the header as index 0, the content as index 1, and the footer as index 2. Construct a new FiniteWidgetIterator with a FiniteWidgetIterator.WidgetProvider that provides the child widgets.