public class TrayIconMouseAdapter extends java.lang.Object implements TrayIconListener
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FUNCTION_GetDoubleClickTime |
Constructor and Description |
---|
TrayIconMouseAdapter() |
Modifier and Type | Method and Description |
---|---|
void |
addTrayListener(java.awt.event.MouseListener listener)
Adds mouse listener
|
void |
removeTrayListener(java.awt.event.MouseListener listener)
Removes mouse listener
|
void |
trayActionPerformed(long message,
int x,
int y) |
public static final java.lang.String FUNCTION_GetDoubleClickTime
public void trayActionPerformed(long message, int x, int y)
trayActionPerformed
in interface TrayIconListener
message
- is a window message. Can be one of the following:
WM_MOUSEMOVE, WM_LBUTTONDOWN, WM_LBUTTONUP, WM_LBUTTONDBLCLK,
WM_RBUTTONDOWN, WM_RBUTTONUP, WM_RBUTTONDBLCLK, WM_MBUTTONDOWN,
WM_MBUTTONUP, WM_MBUTTONDBLCLK, WM_MOUSELEAVE, WM_MOUSEHOVERx
- the x-coordinate of the cursor position when an event occurred.y
- the y-coordinate of the cursor position when an event occurred.public void addTrayListener(java.awt.event.MouseListener listener)
listener
- public void removeTrayListener(java.awt.event.MouseListener listener)
listener
-