|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.coderight.jazz.SystemTrayIcon
public class SystemTrayIcon
Provides a tray icon that is added to the system tray.
A SystemTrayIcon can have a tooltip and a popup menu.
Example: SystemTrayIcon trayIcon = new SystemTrayIcon(JazzUtil.getResourceAsIcon("addressbook_icon.gif")); trayIcon.setToolTipText(addressBookView.getTitle()); setSystemTrayIcon(trayIcon);
Application.setSystemTrayIcon(SystemTrayIcon)
,
SystemTray
,
TrayIcon
Constructor Summary | |
---|---|
SystemTrayIcon(Icon icon)
Default constructor |
Method Summary | |
---|---|
TrayIcon |
getComponent()
|
void |
setOnClickEvent(Event onClickEvent)
|
void |
setOnDoubleClickEvent(Event onDoubleClickEvent)
|
void |
setOnMessageClickEvent(Event onMessageClickEvent)
|
void |
setPopupMenu(PopupMenu popup)
For more information see TrayIcon.setPopupMenu(java.awt.PopupMenu) . |
void |
setToolTipText(String text)
For more information see TrayIcon.setToolTip(String) . |
void |
showMessage(String title,
String message,
TrayIcon.MessageType type)
For more information see TrayIcon.displayMessage(String, String, MessageType) . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SystemTrayIcon(Icon icon)
Method Detail |
---|
public TrayIcon getComponent()
public void setOnClickEvent(Event onClickEvent)
public void setOnDoubleClickEvent(Event onDoubleClickEvent)
public void setOnMessageClickEvent(Event onMessageClickEvent)
public void showMessage(String title, String message, TrayIcon.MessageType type)
TrayIcon.displayMessage(String, String, MessageType)
.
public void setToolTipText(String text)
TrayIcon.setToolTip(String)
.
public void setPopupMenu(PopupMenu popup)
TrayIcon.setPopupMenu(java.awt.PopupMenu)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |