|
org.openide.awt 7.23.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Actions.SubMenu
@Deprecated public static interface Actions.SubMenuModel
Interface for the creating Actions.SubMenu. It provides the methods for all items in submenu: name shortcut and perform method. Also has methods for notification of changes of the model.
| Method Summary | |
|---|---|
void |
addChangeListener(ChangeListener l)
Deprecated. Adds change listener for changes of the model. |
int |
getCount()
Deprecated. |
HelpCtx |
getHelpCtx(int index)
Deprecated. Get context help for the specified item. |
String |
getLabel(int index)
Deprecated. Gets label for specific index |
void |
performActionAt(int index)
Deprecated. Perform the action on the specific index |
void |
removeChangeListener(ChangeListener l)
Deprecated. Removes change listener for changes of the model. |
| Method Detail |
|---|
int getCount()
String getLabel(int index)
index - of the submenu item
null for a separator)HelpCtx getHelpCtx(int index)
null to just use the context help for
the associated system action (if any).
Note that only help IDs will work, not URLs.
nullvoid performActionAt(int index)
index - of the submenu item which should be performedvoid addChangeListener(ChangeListener l)
void removeChangeListener(ChangeListener l)
|
org.openide.awt 7.23.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||