public interface TrayIconPeer
TrayIcon
. This doesn't need to be
implemented if SystemTray.isSupported()
returns false.Modifier and Type | Method and Description |
---|---|
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.
|
void dispose()
TrayIcon.removeNotify()
void setToolTip(String tooltip)
tooltip
- the tooltip to setTrayIcon.setToolTip(String)
void updateImage()
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