Constructor and Description |
---|
MenuBarHelper() |
MenuBarHelper(JMenuBar menu) |
Modifier and Type | Method and Description |
---|---|
void |
add(String text) |
void |
add(String parent,
Action action) |
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
public void add(String text)