Modifier and Type | Class and Description |
---|---|
static class |
MenuBarHelper.JMenuItemWithContext |
Constructor and Description |
---|
MenuBarHelper() |
MenuBarHelper(JMenuBar menu) |
Modifier and Type | Method and Description |
---|---|
JMenuItem |
add(String text) |
JMenuItem |
add(String parent,
Action action,
Object context) |
JComponent |
asJComponent()
Returns this component as a swing
JComponent . |
JMenuBar |
getMenuBar() |
public MenuBarHelper(JMenuBar menu)
public MenuBarHelper()
public JMenuBar getMenuBar()
public JComponent asJComponent()
Component
JComponent
.asJComponent
in interface Component
JComponent