Constructor and Description |
---|
MenuBarHelper() |
MenuBarHelper(javax.swing.JMenuBar menu) |
Modifier and Type | Method and Description |
---|---|
void |
add(java.lang.String text) |
void |
add(java.lang.String parent,
javax.swing.Action action) |
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()
Component
JComponent
.asJComponent
in interface Component
JComponent
public void add(java.lang.String text)
public void add(java.lang.String parent, javax.swing.Action action)