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