|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TrayIconPeer
Disabled: no SafeJ information.
The peer interface for the TrayIcon
. This doesn't need to be
implemented if SystemTray.isSupported()
returns false.
Method Summary | |
---|---|
void |
displayMessage(String caption,
String text,
String messageType)
Displays a message at the tray icon. |
void |
dispose()
Disposes the tray icon and releases and resources held by it. |
void |
setToolTip(String tooltip)
Sets the tool tip for the tray icon. |
void |
showPopupMenu(int x,
int y)
Shows the popup menu of this tray icon at the specified position. |
void |
updateImage()
Updates the icon image. |
Method Detail |
---|
void dispose()
TrayIcon.removeNotify()
void setToolTip(String tooltip)
tooltip
- the tooltip to setTrayIcon.setToolTip(String)
void updateImage()
TrayIcon.setImage(java.awt.Image)
,
TrayIcon.setImageAutoSize(boolean)
void displayMessage(String caption, String text, String messageType)
caption
- the message captiontext
- the actual message textmessageType
- the message typeTrayIcon.displayMessage(String, String, java.awt.TrayIcon.MessageType)
void showPopupMenu(int x, int y)
x
- the X location for the popup menuy
- the Y location for the popup menu
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |