public interface HasWidgets extends java.lang.Iterable<Widget>
widgets
and can enumerate them.Modifier and Type | Interface and Description |
---|---|
static interface |
HasWidgets.ForIsWidget
Extends this interface with convenience methods to handle
IsWidget . |
void add(Widget w)
w
- the widget to be addedjava.lang.UnsupportedOperationException
- if this method is not supported (most
often this means that a specific overload must be called)void clear()
java.util.Iterator<Widget> iterator()
Iterator.remove()
.iterator
in interface java.lang.Iterable<Widget>
boolean remove(Widget w)
w
- the widget to be removedtrue
if the widget was present