biz.chitec.quarterback.swing
Class DynamicMenuBar.SimpleMenuMenuElement
java.lang.Object
biz.chitec.quarterback.swing.DynamicMenuBar.MenuElement
biz.chitec.quarterback.swing.DynamicMenuBar.SimpleMenuMenuElement
- Enclosing class:
- DynamicMenuBar
- protected class DynamicMenuBar.SimpleMenuMenuElement
- extends DynamicMenuBar.MenuElement
Default menu which contains other menu elements.
Method Summary |
void |
checkEnabled()
Enforce an enabled check for all components generated by this menu element.
|
private void |
checkMenuEnable()
|
java.awt.Component[] |
getElements()
Return all components generated by this menu element.
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
me
private DynamicMenuBar.MenuElement[] me
retval
private java.awt.Component[] retval
jm
private javax.swing.JMenu jm
le
private LogicExpr le
active
private boolean active
DynamicMenuBar.SimpleMenuMenuElement
public DynamicMenuBar.SimpleMenuMenuElement(java.lang.String namekey,
LogicExpr lex,
DynamicMenuBar.MenuElement[] mex)
DynamicMenuBar.SimpleMenuMenuElement
public DynamicMenuBar.SimpleMenuMenuElement(java.lang.String namekey,
DynamicMenuBar.MenuElement[] mex)
checkMenuEnable
private void checkMenuEnable()
getElements
public java.awt.Component[] getElements()
- Description copied from class:
DynamicMenuBar.MenuElement
- Return all components generated by this menu element.
One element can create multiple components.
- Specified by:
getElements
in class DynamicMenuBar.MenuElement
- Returns:
- Array of components or null if no components have been created
checkEnabled
public void checkEnabled()
- Description copied from class:
DynamicMenuBar.MenuElement
- Enforce an enabled check for all components generated by this menu element.
The element can go through all its created components and set or reset their enabled state.
- Overrides:
checkEnabled
in class DynamicMenuBar.MenuElement