Class WidgetCollection

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

public class WidgetCollection extends Object implements Iterable<Widget>
A simple collection of widgets to be used by panels and composites.

The main purpose of this specialized collection is to implement Iterator.remove() in a way that delegates removal to its panel. This makes it much easier for the panel to implement an iterator that supports removal of widgets.