|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.jeans.trayicon.TrayIconPopupSimpleItem
com.jeans.trayicon.TrayIconPopupCheckItem
| Constructor Summary | |
TrayIconPopupCheckItem(java.lang.String item)
Create new checkbox menu item Param item = the name of the new item |
|
| Method Summary | |
boolean |
getCheck()
Get checkmark of item |
boolean |
onSelected(int menuId)
Callback when user selects menu item (find it by comparing menu id's) Param menuId = the id of the selected item |
void |
setCheck(boolean selected)
Set/Remove checkmark of item Param selected = checkmark/no checkmark? |
void |
setTrayIcon(WindowsTrayIcon trayicon,
int id,
int level)
Create menu in native library - used by WindowsTrayIcon.setPopup() Param trayicon = the owner of this menu Param id = the icon's id Param level = the level (submenu depth) |
| Methods inherited from class com.jeans.trayicon.TrayIconPopupSimpleItem |
addActionListener, getName, getNbLevels, setDefault, setEnabled |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TrayIconPopupCheckItem(java.lang.String item)
| Method Detail |
public void setCheck(boolean selected)
public boolean getCheck()
public boolean onSelected(int menuId)
onSelected in interface com.jeans.trayicon.TrayIconPopupItemonSelected in class TrayIconPopupSimpleItem
public void setTrayIcon(WindowsTrayIcon trayicon,
int id,
int level)
setTrayIcon in interface com.jeans.trayicon.TrayIconPopupItemsetTrayIcon in class TrayIconPopupSimpleItem
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||