Searched refs:TrayIcon (Results 1 - 23 of 23) sorted by relevance

/openjdk7/jdk/test/java/awt/TrayIcon/CtorTest/
H A DCtorTest.java27 @summary TrayIcon constructor throws NPE instead of documented IAE
35 * summary: TrayIcon ctor throws IAE if image is null
47 TrayIcon tray = new TrayIcon(null);
/openjdk7/jdk/src/share/classes/java/awt/
H A DSystemTray.java51 * TrayIcon TrayIcons}, which are added to the tray using the {@link
53 * {@link #remove}. <code>TrayIcon</code> consists of an
55 * the {@link TrayIcon} class for details.
68 * {@link TrayIcon} trayIcon = null;
88 * // construct a TrayIcon
89 * trayIcon = new {@link TrayIcon#TrayIcon(java.awt.Image, String, java.awt.PopupMenu) TrayIcon}(image, "Tray Demo", popup);
90 * // set the TrayIcon properties
91 * trayIcon.{@link TrayIcon#addActionListene
[all...]
H A DTrayIcon.java39 * A <code>TrayIcon</code> object represents a tray icon that can be
41 * <code>TrayIcon</code> can have a tooltip (text), an image, a popup
44 * <p>A <code>TrayIcon</code> can generate various {@link MouseEvent
46 * notification of these events. <code>TrayIcon</code> processes some
48 * right-mouse click is performed on the <code>TrayIcon</code> it
50 * over the <code>TrayIcon</code> the tooltip is displayed.
57 * <code>TrayIcon</code>. (See {@link
60 * <p><b>Note:</b> A well-behaved {@link TrayIcon} implementation
64 * <p>A <code>TrayIcon</code> can generate an {@link ActionEvent
70 * a {@code TrayIcon}
86 public class TrayIcon { class
136 private TrayIcon() method in class:TrayIcon
167 public TrayIcon(Image image) { method in class:TrayIcon
196 public TrayIcon(Image image, String tooltip) { method in class:TrayIcon
226 public TrayIcon(Image image, String tooltip, PopupMenu popup) { method in class:TrayIcon
[all...]
H A DEventQueue.java720 src instanceof TrayIcon ?
721 ((TrayIcon)src).getAccessControlContext() :
739 } else if (src instanceof TrayIcon) {
740 ((TrayIcon)src).dispatchEvent(event);
/openjdk7/jdk/src/share/classes/java/awt/peer/
H A DTrayIconPeer.java29 import java.awt.TrayIcon;
32 * The peer interface for the {@link TrayIcon}. This doesn't need to be
40 * @see TrayIcon#removeNotify()
49 * @see TrayIcon#setToolTip(String)
55 * from the TrayIcon component in the actual tray icon.
57 * @see TrayIcon#setImage(java.awt.Image)
58 * @see TrayIcon#setImageAutoSize(boolean)
69 * @see TrayIcon#displayMessage(String, String, java.awt.TrayIcon.MessageType)
/openjdk7/jdk/src/windows/classes/sun/awt/windows/
H A DWTrayIconPeer.java33 import java.awt.TrayIcon;
60 WTrayIconPeer(TrayIcon target) {
68 Image image = ((TrayIcon)target).getImage();
82 PopupMenu newPopup = ((TrayIcon)target).getPopupMenu();
119 boolean autosize = ((TrayIcon)target).isImageAutoSize();
189 if (image != ((TrayIcon)target).getImage() || // if the image has been changed
H A DWToolkit.java35 import java.awt.TrayIcon;
489 public TrayIconPeer createTrayIcon(TrayIcon target) {
/openjdk7/jdk/src/solaris/classes/sun/awt/X11/
H A DXSystemTrayPeer.java112 throw new AWTException("TrayIcon couldn't be displayed.");
169 TrayIcon[] icons = target.getTrayIcons();
171 for (TrayIcon ti : icons) {
184 TrayIcon[] icons = target.getTrayIcons();
185 for (TrayIcon ti : icons) {
H A DXTrayIconPeer.java46 TrayIcon target;
71 XTrayIconPeer(TrayIcon target)
86 // by modal dialogs, but in the case of TrayIcon it shouldn't. So we
115 // than TrayIcon size required (that is we need a square but a rectangle
254 throw new AWTException("TrayIcon couldn't be displayed.");
424 //prevent DRAG events from being posted with TrayIcon source(CR 6565779)
517 TrayIcon target;
520 TrayIconCanvas(TrayIcon target, int width, int height) {
H A DXToolkit.java1061 public TrayIconPeer createTrayIcon(TrayIcon target)
/openjdk7/jdk/test/java/awt/TrayIcon/DragEventSource/
H A DDragEventSource.java29 @summary Exception if source of some event is TrayIcon
37 * summary: an exception happen if the DRAG event has a TrayIcon
50 static TrayIcon icon = null;
99 TrayIcon icons[] = tray.getTrayIcons();
104 icon = new TrayIcon(new BufferedImage(20, 20, BufferedImage.TYPE_INT_RGB));
/openjdk7/jdk/src/share/classes/sun/awt/
H A DAppContext.java31 import java.awt.TrayIcon;
433 TrayIcon[] trayIconsToDispose = systemTray.getTrayIcons();
434 for (TrayIcon ti : trayIconsToDispose) {
H A DAWTAccessor.java312 * Indicates whether the specified window is an utility window for TrayIcon.
317 * Marks the specified window as an utility window for TrayIcon.
663 * An accessor for the TrayIcon class
666 void addNotify(TrayIcon trayIcon) throws AWTException;
667 void removeNotify(TrayIcon trayIcon);
1064 * Set an accessor object for the java.awt.TrayIcon class.
1071 * Retrieve the accessor object for the java.awt.TrayIcon class.
H A DHToolkit.java168 public TrayIconPeer createTrayIcon(TrayIcon target)
H A DHeadlessToolkit.java190 public TrayIconPeer createTrayIcon(TrayIcon target)
H A DSunToolkit.java36 import java.awt.TrayIcon;
193 public abstract TrayIconPeer createTrayIcon(TrayIcon target)
/openjdk7/jdk/src/macosx/classes/sun/lwawt/macosx/
H A DCTrayIcon.java41 private TrayIcon target;
47 // Component target. Because TrayIcon isn't Component's subclass,
56 CTrayIcon(TrayIcon target) {
H A DLWCToolkit.java226 public TrayIconPeer createTrayIcon(TrayIcon target) {
/openjdk7/jdk/src/macosx/classes/sun/lwawt/
H A DLWToolkit.java475 public TrayIconPeer createTrayIcon(TrayIcon target) {
/openjdk7/jdk/src/solaris/classes/sun/awt/motif/
H A DMToolkit.java375 public TrayIconPeer createTrayIcon(TrayIcon target) throws HeadlessException {
/openjdk7/jdk/make/sun/awt/
H A DFILES_export_unix.gmk162 java/awt/TrayIcon.java \
H A DFILES_export_windows.gmk74 java/awt/TrayIcon.java \
/openjdk7/jdk/make/sun/lwawt/
H A DFILES_export_macosx.gmk245 java/awt/TrayIcon.java \

Completed in 4341 milliseconds