|
org.openide.awt 7.23.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.AbstractButton
javax.swing.JMenuItem
javax.swing.JMenu
org.openide.awt.JMenuPlus
org.openide.awt.Actions.SubMenu
JMenuPlus
@Deprecated public static class Actions.SubMenu
SubMenu provides easy way of displaying submenu items based on SubMenuModel.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JMenu |
|---|
JMenu.AccessibleJMenu, JMenu.WinListener |
| Nested classes/interfaces inherited from class javax.swing.JMenuItem |
|---|
JMenuItem.AccessibleJMenuItem |
| Nested classes/interfaces inherited from class javax.swing.AbstractButton |
|---|
AbstractButton.AccessibleAbstractButton, AbstractButton.ButtonChangeListener |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JMenu |
|---|
popupListener |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface org.openide.awt.DynamicMenuContent |
|---|
HIDE_WHEN_DISABLED |
| Fields inherited from interface javax.swing.SwingConstants |
|---|
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
Actions.SubMenu(Action aAction,
Actions.SubMenuModel model,
boolean popup)
Deprecated. Constructs a new ActMenuItem with the specified label and no keyboard shortcut and connects it to the given SystemAction. |
|
Actions.SubMenu(SystemAction aAction,
Actions.SubMenuModel model)
Deprecated. Constructs a new ActMenuItem with the specified label and no keyboard shortcut and connects it to the given SystemAction. |
|
Actions.SubMenu(SystemAction aAction,
Actions.SubMenuModel model,
boolean popup)
Deprecated. Constructs a new ActMenuItem with the specified label and no keyboard shortcut and connects it to the given SystemAction. |
|
| Method Summary | |
|---|---|
JComponent[] |
getMenuPresenters()
Deprecated. Create main menu/popup menuitems. |
JComponent[] |
synchMenuPresenters(JComponent[] items)
Deprecated. update main menu presenters. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface javax.swing.MenuElement |
|---|
processKeyEvent, processMouseEvent |
| Constructor Detail |
|---|
public Actions.SubMenu(SystemAction aAction,
Actions.SubMenuModel model)
aAction - the action to which this menu item should be connectedmodel - the support for the menu items
public Actions.SubMenu(SystemAction aAction,
Actions.SubMenuModel model,
boolean popup)
aAction - the action to which this menu item should be connectedmodel - the support for the menu itemspopup - whether this is a popup menu
public Actions.SubMenu(Action aAction,
Actions.SubMenuModel model,
boolean popup)
aAction - the action to which this menu item should be connectedmodel - the support for the menu itemspopup - whether this is a popup menu| Method Detail |
|---|
public JComponent[] getMenuPresenters()
DynamicMenuContentsynchMenuPresenters() method.
If you want different behaviour for menu and popup,
use a different implementation returned by Presenter.Popup and Presenter.Menu.
getMenuPresenters in interface DynamicMenuContentpublic JComponent[] synchMenuPresenters(JComponent[] items)
DynamicMenuContent
synchMenuPresenters in interface DynamicMenuContentitems - the previously used menuitems returned by previous call to getMenuPresenters() or synchMenuPresenters()
|
org.openide.awt 7.23.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||