API Overview API Index Package Overview Direct link to this page
JDK 1.6
  java.awt. SystemTray View Source
Author(s)
Bino George
Denis Mikhalkin
Sharon Zakhour
Anton Tarasov
Since
1.6
Version
Serial
Hierarchy
 Object
      SystemTray
Implements
Subclasses
Description
public class SystemTray
  The SystemTray class represents the system tray for a desktop.
See also:    TrayIcon
Constructors
private SystemTray ()
Private SystemTray constructor.
Methods
Hide/Show inherited methods
public void add (TrayIcon trayIcon) throws AWTException
  Adds a TrayIcon to the SystemTray.
pack-privatesynchronized void addNotify ()
publicsynchronized void addPropertyChangeListener (String propertyName, PropertyChangeListener listener)
  Adds a PropertyChangeListener to the listener list for a specific property.
pack-privatestatic void checkSystemTrayAllowed ()
publicsynchronized PropertyChangeListener getPropertyChangeListeners (String propertyName)
  Returns an array of all the listeners that have been associated with the named property.
publicstatic SystemTray getSystemTray ()
  Gets the SystemTray instance that represents the desktop's tray area.
public TrayIcon getTrayIcons ()
  Returns an array of all icons added to the tray by this application.
public Dimension getTrayIconSize ()
  Returns the size, in pixels, of the space that a tray icon will occupy in the system tray.
publicstatic boolean isSupported ()
  Returns whether the system tray is supported on the current platform.
public void remove (TrayIcon trayIcon)
  Removes the specified TrayIcon from the SystemTray.
publicsynchronized void removePropertyChangeListener (String propertyName, PropertyChangeListener listener)
  Removes a PropertyChangeListener from the listener list for a specific property.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar