Lines Matching defs:SystemTray

39  * The <code>SystemTray</code> class represents the system tray for a
46 * be supported, in this case {@link SystemTray#getSystemTray()}
48 * system tray is supported, use {@link SystemTray#isSupported}.
50 * <p>The <code>SystemTray</code> may contain one or more {@link
57 * <p>Every Java application has a single <code>SystemTray</code>
59 * the desktop while the app is running. The <code>SystemTray</code>
62 * <code>SystemTray</code>.
69 * if (SystemTray.isSupported()) {
70 * // get the SystemTray instance
71 * SystemTray tray = SystemTray.{@link #getSystemTray};
95 * tray.{@link SystemTray#add(TrayIcon) add}(trayIcon);
123 public class SystemTray {
124 private static SystemTray systemTray;
134 public void firePropertyChange(SystemTray tray,
144 * Private <code>SystemTray</code> constructor.
147 private SystemTray() {
152 * Gets the <code>SystemTray</code> instance that represents the
160 * {@code SystemTray} instance. Otherwise this method will throw a
163 * @return the <code>SystemTray</code> instance that represents
177 public static SystemTray getSystemTray() {
204 * SystemTray example} for an example of how to do this.
206 * <p><b>Note</b>: When implementing <code>SystemTray</code> and
234 * Adds a <code>TrayIcon</code> to the <code>SystemTray</code>.
240 * removed from the <code>SystemTray</code> upon application exit
286 * <code>SystemTray</code>.
289 * removed from the <code>SystemTray</code> upon application exit
329 * <code>SystemTray</code>, use the {@link
365 * <table border=1 summary="SystemTray properties">
372 * <td>The {@code SystemTray}'s array of {@code TrayIcon} objects.
381 * <td>This property contains {@code SystemTray} instance when the system tray
483 (PropertyChangeSupport)AppContext.getAppContext().get(SystemTray.class);
487 AppContext.getAppContext().put(SystemTray.class, changeSupport);
511 synchronized (SystemTray.class) {
513 systemTray = new SystemTray();