JDIC API V2006 Release 0308

org.jdesktop.jdic.tray
类 SystemTray

java.lang.Object
  继承者 org.jdesktop.jdic.tray.SystemTray

public class SystemTray
extends java.lang.Object

The SystemTray class represents the System Tray for a desktop. For any desktop there may be more than one instance of the System Tray but this is most commonly not the case. Typically a desktop will have one SystemTray. On Gnome and Windows this tray is referred to as the Notification Area.


方法摘要
 void addTrayIcon(TrayIcon trayIcon)
          Adds a TrayIcon to the SystemTray
static SystemTray getDefaultSystemTray()
          Gets the default SystemTray for the desktop.
 void removeTrayIcon(TrayIcon trayIcon)
          Removes the specified TrayIcon from the SystemTray
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

方法详细信息

getDefaultSystemTray

public static SystemTray getDefaultSystemTray()
Gets the default SystemTray for the desktop.

返回:
SystemTray

addTrayIcon

public void addTrayIcon(TrayIcon trayIcon)
Adds a TrayIcon to the SystemTray

参数:
trayIcon -

removeTrayIcon

public void removeTrayIcon(TrayIcon trayIcon)
Removes the specified TrayIcon from the SystemTray

参数:
trayIcon -

JDIC API V2006 Release 0308

For more information and documentation on JDIC, see JDIC website.

That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, working code examples, license terms and bug report information.

Copyright (c) 2004 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.