|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jpackages.jtray.JTrayNativeMenuItem
public class JTrayNativeMenuItem
This class defines a native menu item.
Copyright (c) 2001-2007
| Constructor Summary | |
|---|---|
JTrayNativeMenuItem(java.lang.String text)
Create a new native menu item with the specified text. |
|
| Method Summary | |
|---|---|
java.lang.String |
getText()
Get the text displayed in this native menu item |
void |
setEnabled(boolean b)
Enable or disable this menu item. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public JTrayNativeMenuItem(java.lang.String text)
Create a new native menu item with the specified text.
text - The text to be displayed in the menu item| Method Detail |
|---|
public java.lang.String getText()
Get the text displayed in this native menu item
public void setEnabled(boolean b)
Enable or disable this menu item.
Disabled native menu items will appear grayed out and will not be clickable.
b - true to enable, false to disable
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||