|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HasWidgets
A widget that implements this interface contains
widgets
and can enumerate them.
Nested Class Summary | |
---|---|
static interface |
HasWidgets.ForIsWidget
Extends this interface with convenience methods to handle IsWidget . |
Method Summary | |
---|---|
void |
add(Widget w)
Adds a child widget. |
void |
clear()
Removes all child widgets. |
java.util.Iterator<Widget> |
iterator()
Gets an iterator for the contained widgets. |
boolean |
remove(Widget w)
Removes a child widget. |
Method Detail |
---|
void add(Widget w)
w
- the widget to be added
java.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 removed
true
if the widget was present
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |