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