|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Widget
Interface implemented by all objects that you can add to the user interface.
Do not implement this interface to create new widgets. Instead, use UI.newJComponentWrapper. (Widgets must also implement the InternalWidget interface, which is not public and is subject to change.)
Method Summary | |
---|---|
java.lang.String |
getID()
|
WidgetOwner |
getOwner()
|
void |
informClosed()
Called to inform the widget when the window that holds it has been closed. |
boolean |
isVisible()
|
void |
setOwner(WidgetOwner owner)
Sets the widget owner. |
void |
setVisible(boolean visible)
Sets the visibility state of the widget. |
Method Detail |
---|
java.lang.String getID()
WidgetOwner getOwner()
void setOwner(WidgetOwner owner)
owner
- Ownervoid setVisible(boolean visible)
visible
- Visibility stateboolean isVisible()
void informClosed()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |