|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--moka.lang.Object | +--moka.event.EventListener | +--moka.x.MenuItem
MenuItem class represents an item of a menu. All items in a menu must belong to the class MenuItem, or one of its subclasses.
Field Summary | |
java.lang.String |
caption
The caption of the MenuItem. |
moka.event.EventListener |
listen
The event listener for this MenuItem. |
char |
mnemonic
The mnemonic associated with this MenuItem. |
Constructor Summary | |
MenuItem()
|
|
MenuItem(java.lang.String caption)
|
Method Summary | |
void |
finalize()
Frees the memory of system ressources used by this MenuItem object. |
void |
setCaption(java.lang.String caption)
Sets the caption of the MenuItem. |
Methods inherited from class moka.event.EventListener |
eventTriggered |
Methods inherited from class moka.lang.Object |
equals, getClassName, toString |
Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public java.lang.String caption
public moka.event.EventListener listen
public char mnemonic
Constructor Detail |
public MenuItem()
public MenuItem(java.lang.String caption)
Method Detail |
public void setCaption(java.lang.String caption)
caption
- The caption of the MenuItem.public void finalize()
finalize
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |