|
|||||||||
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.
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 |
---|
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 iterator()
Iterator.remove()
.
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 |