java.awt.peer
Interface TrayIconPeer


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

dispose

void dispose()
Class is disabled.

Disposes the tray icon and releases and resources held by it.

See Also:
TrayIcon.removeNotify()

setToolTip

void setToolTip(String tooltip)
Class is disabled.

Sets the tool tip for the tray icon.

Parameters:
tooltip - the tooltip to set
See Also:
TrayIcon.setToolTip(String)

updateImage

void updateImage()
Class is disabled.

Updates the icon image. This is supposed to display the current icon from the TrayIcon component in the actual tray icon.

See Also:
TrayIcon.setImage(java.awt.Image), TrayIcon.setImageAutoSize(boolean)

displayMessage

void displayMessage(String caption,
                    String text,
                    String messageType)
Class is disabled.

Displays a message at the tray icon.

Parameters:
caption - the message caption
text - the actual message text
messageType - the message type
See Also:
TrayIcon.displayMessage(String, String, java.awt.TrayIcon.MessageType)

showPopupMenu

void showPopupMenu(int x,
                   int y)
Class is disabled.

Shows the popup menu of this tray icon at the specified position.

Parameters:
x - the X location for the popup menu
y - the Y location for the popup menu