|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NavigationMenu
Method Summary | |
---|---|
javax.swing.JMenuItem |
createMenuItem(ToggleAction action) Creates a new menu item for the supplied ToggleAction . |
javax.swing.JMenuItem |
createMenuItem(ToggleAction action, float menuWeight) Creates a new menu item for the supplied ToggleAction with the supplied menu weight. |
Context |
getContext() Returns the context in which this menu was invoked. |
Method Detail |
---|
Context getContext()
javax.swing.JMenuItem createMenuItem(ToggleAction action)
ToggleAction
. By default, the menu weight is WEIGHT_UNDEFINED
unless the action has a defined menu weight, in which case that value is used.ToggleAction
, ToggleAction.setMenuWeight(float)
javax.swing.JMenuItem createMenuItem(ToggleAction action, float menuWeight)
ToggleAction
with the supplied menu weight. If the ToggleAction
has a defined menu weight, the supplied weight overwrites it, except in the case where the supplied menu weight is MenuConstants.WEIGHT_UNDEFINED
then the menu weight stored in the ToggleAction
, if any, is set in the menu item.action
- The action for this menu itemmenuWeight
- The menu weight to use to sort this item when it is added to a menucreateMenuItem(ToggleAction)
, ToggleAction
, ToggleAction.setMenuWeight(float)
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK 11g Release 2 (11.1.2.2.0) E17493-03 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |