|
SysTray for Java v2.4.1   |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectsnoozesoft.systray4j.SysTrayMenuItem
snoozesoft.systray4j.CheckableMenuItem
This class represents a labeled menu item with a check mark.
| Constructor Summary | |
CheckableMenuItem(java.lang.String label)
Creates a new CheckableMenuItem object. |
|
CheckableMenuItem(java.lang.String label,
java.lang.String actionCommand)
Creates a new CheckableMenuItem object. |
|
| Method Summary | |
boolean |
getState()
Getter for the state of this item. |
void |
setState(boolean state)
Checks/unchecks this item according to state. |
| Methods inherited from class snoozesoft.systray4j.SysTrayMenuItem |
addSysTrayMenuListener, getActionCommand, getLabel, isEnabled, removeSysTrayMenuListener, setActionCommand, setEnabled, setLabel |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CheckableMenuItem(java.lang.String label)
CheckableMenuItem object.
label - The label of the item.
public CheckableMenuItem(java.lang.String label,
java.lang.String actionCommand)
CheckableMenuItem object.
label - The label of the item.actionCommand - The action command emitted when this item is clicked.| Method Detail |
public boolean getState()
public void setState(boolean state)
state.
state - if true this item will be checked.
|
SysTray for Java v2.4.1   |
|||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||