| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| pack-priv static class | |
| pack-priv static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv InfoWindow. | |
| pack-priv XTrayIconPeer. | |
| private static final PlatformLogger | |
| pack-priv static final XEventDispatcher | |
| pack-priv XTrayIconPeer. | |
| pack-priv long | |
| pack-priv final XEventDispatcher | |
| pack-priv XTrayIconPeer. | |
| pack-priv int | |
| pack-priv int | |
| pack-priv volatile boolean | |
| pack-priv boolean | |
| pack-priv boolean | |
| pack-priv int | |
| pack-priv int | |
| pack-priv final XEventDispatcher | |
| pack-priv PopupMenu | |
| pack-priv TrayIcon | |
| pack-priv InfoWindow. | |
| pack-priv String | |
| pack-priv static final int | |
| pack-priv static final int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv void | |
| private void | |
| public void | displayMessage(String caption, String text, String messageType)
Implements java. Displays a message at the tray icon. |
| public void | dispose()
Implements java. Disposes the tray icon and releases and resources held by it. |
| private void | |
| public String | getActionCommand()
Implements sun. The action to be performed upon clicking the balloon. |
| public Rectangle | getBounds()
Implements sun. The bounds of the target of the InfoWindow. |
| private Point | |
| public String | getTooltipString()
Implements sun. The tooltip to be displayed. |
| pack-priv long | |
| public boolean | isDisposed()
Implements sun. Whether the target of the InfoWindow is disposed. |
| pack-priv void | |
| private void | |
| public void | setToolTip(String tooltip)
Implements java. Sets the tool tip for the tray icon. |
| public void | showPopupMenu(int x, int y)
Implements java. Shows the popup menu of this tray icon at the specified position. |
| public static void | |
| public void |
| balloon | back to summary |
|---|---|
| pack-priv InfoWindow. | |
| canvas | back to summary |
|---|---|
| pack-priv XTrayIconPeer. | |
| ctrLog | back to summary |
|---|---|
| private static final PlatformLogger ctrLog | |
| dummyXED | back to summary |
|---|---|
| pack-priv static final XEventDispatcher dummyXED | |
| eframe | back to summary |
|---|---|
| pack-priv XTrayIconPeer. | |
| eframeParentID | back to summary |
|---|---|
| pack-priv long eframeParentID | |
| eframeXED | back to summary |
|---|---|
| pack-priv final XEventDispatcher eframeXED | |
| eventProxy | back to summary |
|---|---|
| pack-priv XTrayIconPeer. | |
| ex_height | back to summary |
|---|---|
| pack-priv int ex_height | |
| ex_width | back to summary |
|---|---|
| pack-priv int ex_width | |
| isDisposed | back to summary |
|---|---|
| pack-priv volatile boolean isDisposed | |
| isParentWindowLocated | back to summary |
|---|---|
| pack-priv boolean isParentWindowLocated | |
| isTrayIconDisplayed | back to summary |
|---|---|
| pack-priv boolean isTrayIconDisplayed | |
| old_x | back to summary |
|---|---|
| pack-priv int old_x | |
| old_y | back to summary |
|---|---|
| pack-priv int old_y | |
| parentXED | back to summary |
|---|---|
| pack-priv final XEventDispatcher parentXED | |
| popup | back to summary |
|---|---|
| pack-priv PopupMenu popup | |
| target | back to summary |
|---|---|
| pack-priv TrayIcon target | |
| tooltip | back to summary |
|---|---|
| pack-priv InfoWindow. | |
| tooltipString | back to summary |
|---|---|
| pack-priv String tooltipString | |
| TRAY_ICON_HEIGHT | back to summary |
|---|---|
| pack-priv static final int TRAY_ICON_HEIGHT | |
| TRAY_ICON_WIDTH | back to summary |
|---|---|
| pack-priv static final int TRAY_ICON_WIDTH | |
| XTrayIconPeer | back to summary |
|---|---|
| pack-priv XTrayIconPeer(TrayIcon target) throws AWTException | |
| addListeners | back to summary |
|---|---|
| pack-priv void addListeners() | |
| addXED | back to summary |
|---|---|
| private void addXED(long window, XEventDispatcher xed, long mask) | |
| displayMessage | back to summary |
|---|---|
| public void displayMessage(String caption, String text, String messageType) Implements java. Doc from java. Displays a message at the tray icon.
| |
| dispose | back to summary |
|---|---|
| public void dispose() Implements java. Doc from java. Disposes the tray icon and releases and resources held by it.
| |
| disposeOnEDT | back to summary |
|---|---|
| private void disposeOnEDT() | |
| getActionCommand | back to summary |
|---|---|
| public String getActionCommand() Implements sun. Doc from sun. The action to be performed upon clicking the balloon.
| |
| getBounds | back to summary |
|---|---|
| public Rectangle getBounds() Implements sun. Doc from sun. The bounds of the target of the InfoWindow.
| |
| getLocationOnScreen | back to summary |
|---|---|
| private Point getLocationOnScreen() | |
| getTooltipString | back to summary |
|---|---|
| public String getTooltipString() Implements sun. Doc from sun. The tooltip to be displayed.
| |
| getWindow | back to summary |
|---|---|
| pack-priv long getWindow() | |
| isDisposed | back to summary |
|---|---|
| public boolean isDisposed() Implements sun. Doc from sun. Whether the target of the InfoWindow is disposed.
| |
| removeListeners | back to summary |
|---|---|
| pack-priv void removeListeners() | |
| removeXED | back to summary |
|---|---|
| private void removeXED(long window, XEventDispatcher xed) | |
| setToolTip | back to summary |
|---|---|
| public void setToolTip(String tooltip) Implements java. Doc from java. Sets the tool tip for the tray icon.
| |
| showPopupMenu | back to summary |
|---|---|
| public void showPopupMenu(int x, int y) Implements java. Doc from java. Shows the popup menu of this tray icon at the specified position.
| |
| suppressWarningString | back to summary |
|---|---|
| public static void suppressWarningString(Window w) | |
| updateImage | back to summary |
|---|---|
| public void updateImage() Implements java. Doc from java. Updates the icon image. This is supposed to display the current icon from the TrayIcon component in the actual tray icon.
| |
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int | |
| pack-priv int | |
| pack-priv int | |
| pack-priv volatile Image | |
| pack-priv XTrayIconPeer. | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| protected void | |
| public void |
| curH | back to summary |
|---|---|
| pack-priv int curH | |
| curW | back to summary |
|---|---|
| pack-priv int curW | |
| height | back to summary |
|---|---|
| pack-priv int height Hides java. | |
| image | back to summary |
|---|---|
| pack-priv volatile Image image | |
| observer | back to summary |
|---|---|
| pack-priv XTrayIconPeer. | |
| width | back to summary |
|---|---|
| pack-priv int width Hides java. | |
| IconCanvas | back to summary |
|---|---|
| pack-priv IconCanvas(int width, int height) | |
| dispose | back to summary |
|---|---|
| public void dispose() | |
| paint | back to summary |
|---|---|
| public void paint(Graphics g) Overrides java. Doc from java. Paints this canvas.
Most applications that subclass
| |
| repaintImage | back to summary |
|---|---|
| protected void repaintImage(boolean doClear) | |
| updateImage | back to summary |
|---|---|
| public void updateImage(Image image) | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | imageUpdate(final Image image, final int flags, int x, int y, int width, int height)
Implements java. This method is called when information about an image which was previously requested using an asynchronous interface becomes available. |
| IconObserver | back to summary |
|---|---|
| pack-priv IconObserver() | |
| imageUpdate | back to summary |
|---|---|
| public boolean imageUpdate(final Image image, final int flags, int x, int y, int width, int height) Implements java. Doc from java. This method is called when information about an image which was previously requested using an asynchronous interface becomes available. Asynchronous interfaces are method calls such as getWidth(ImageObserver) and drawImage(img, x, y, ImageObserver) which take an ImageObserver object as an argument. Those methods register the caller as interested either in information about the overall image itself (in the case of getWidth(ImageObserver)) or about an output version of an image (in the case of the drawImage(img, x, y, [w, h,] ImageObserver) call). This method should return true if further updates are needed or false if the required information has been acquired. The image which was being tracked is passed in using the img argument. Various constants are combined to form the infoflags argument which indicates what information about the image is now available. The interpretation of the x, y, width, and height arguments depends on the contents of the infoflags argument.
The
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv boolean | |
| pack-priv TrayIcon |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| protected void |
| autosize | back to summary |
|---|---|
| pack-priv boolean autosize | |
| target | back to summary |
|---|---|
| pack-priv TrayIcon target | |
| TrayIconCanvas | back to summary |
|---|---|
| pack-priv TrayIconCanvas(TrayIcon target, int width, int height) | |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides sun.
| |
| repaintImage | back to summary |
|---|---|
| protected void repaintImage(boolean doClear) Overrides sun.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv XTrayIconPeer |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | mouseClicked(MouseEvent e)
Implements java. Invoked when the mouse button has been clicked (pressed and released) on a component. |
| public void | mouseDragged(MouseEvent e)
Implements java. Invoked when a mouse button is pressed on a component and then dragged. |
| public void | mouseEntered(MouseEvent e)
Implements java. Invoked when the mouse enters a component. |
| public void | mouseExited(MouseEvent e)
Implements java. Invoked when the mouse exits a component. |
| public void | mouseMoved(MouseEvent e)
Implements java. Invoked when the mouse cursor has been moved onto a component but no buttons have been pushed. |
| public void | mousePressed(MouseEvent e)
Implements java. Invoked when a mouse button has been pressed on a component. |
| public void | mouseReleased(MouseEvent e)
Implements java. Invoked when a mouse button has been released on a component. |
| xtiPeer | back to summary |
|---|---|
| pack-priv XTrayIconPeer xtiPeer | |
| TrayIconEventProxy | back to summary |
|---|---|
| pack-priv TrayIconEventProxy(XTrayIconPeer xtiPeer) | |
| handleEvent | back to summary |
|---|---|
| public void handleEvent(MouseEvent e) | |
| mouseClicked | back to summary |
|---|---|
| public void mouseClicked(MouseEvent e) Implements java. Doc from java. Invoked when the mouse button has been clicked (pressed and released) on a component.
| |
| mouseDragged | back to summary |
|---|---|
| public void mouseDragged(MouseEvent e) Implements java. Doc from java. Invoked when a mouse button is pressed on a component and then
dragged.
Due to platform-dependent Drag&Drop implementations,
| |
| mouseEntered | back to summary |
|---|---|
| public void mouseEntered(MouseEvent e) Implements java. Doc from java. Invoked when the mouse enters a component.
| |
| mouseExited | back to summary |
|---|---|
| public void mouseExited(MouseEvent e) Implements java. Doc from java. Invoked when the mouse exits a component.
| |
| mouseMoved | back to summary |
|---|---|
| public void mouseMoved(MouseEvent e) Implements java. Doc from java. Invoked when the mouse cursor has been moved onto a component but no buttons have been pushed.
| |
| mousePressed | back to summary |
|---|---|
| public void mousePressed(MouseEvent e) Implements java. Doc from java. Invoked when a mouse button has been pressed on a component.
| |
| mouseReleased | back to summary |
|---|---|
| public void mouseReleased(MouseEvent e) Implements java. Doc from java. Invoked when a mouse button has been released on a component.
| |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | dispose()
Overrides java. Releases all of the native screen resources used by this
|
| public boolean | isResizable()
Overrides sun. Indicates whether this frame is resizable by the user. |
| public boolean | |
| public void |
| XTrayIconEmbeddedFrame | back to summary |
|---|---|
| public XTrayIconEmbeddedFrame() | |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides java. Doc from java. Releases all of the native screen resources used by this
The Note When the last displayable window within the Java virtual machine (VM) is disposed of, the VM may terminate. See AWT Threading Issues for more information.
| |
| isResizable | back to summary |
|---|---|
| public boolean isResizable() Overrides sun. Doc from java. Indicates whether this frame is resizable by the user. By default, all frames are initially resizable.
| |
| isUndecorated | back to summary |
|---|---|
| public boolean isUndecorated() Overrides java. Doc from java. Indicates whether this frame is undecorated. By default, all frames are initially decorated.
| |
| realDispose | back to summary |
|---|---|
| public void realDispose() | |