|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public static interface UpdateElement.PopupOption
Defines a single option to be displayed in a JPopupMenu
| Method Summary | |
|---|---|
java.lang.Runnable |
getCallback()
Gets the Runnable object to execute when the option
is selected. |
java.lang.String |
getDescription()
Gets the description of this PopupOption object. |
| Method Detail |
|---|
java.lang.String getDescription()
PopupOption object.
This is the text that will be displayed to the user when the
option is presented.
String representing the text to display
to the user as the optionjava.lang.Runnable getCallback()
Runnable object to execute when the option
is selected. The callback must always be run in the
Java Swing thread (AWT-EventQueue-0).
Runnable object whose run()
method will be executed upon selection of this optionRunnable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||