public interface HasWidgets extends 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 addedUnsupportedOperationException
- if this method is not supported (most
often this means that a specific overload must be called)void clear()
Iterator<Widget> iterator()
Iterator.remove()
.boolean remove(Widget w)
w
- the widget to be removedtrue
if the widget was presentCopyright © 2016. All rights reserved.