com.jniwrapper.win32.shell
Class TrayIconMouseAdapter
java.lang.Object
com.jniwrapper.win32.shell.TrayIconMouseAdapter
- All Implemented Interfaces:
- TrayIconListener
public class TrayIconMouseAdapter
- extends java.lang.Object
- implements TrayIconListener
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FUNCTION_GetDoubleClickTime
public static final java.lang.String FUNCTION_GetDoubleClickTime
- See Also:
- Constant Field Values
TrayIconMouseAdapter
public TrayIconMouseAdapter()
trayActionPerformed
public void trayActionPerformed(long message,
int x,
int y)
- Specified by:
trayActionPerformed
in interface TrayIconListener
- Parameters:
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.
addTrayListener
public void addTrayListener(java.awt.event.MouseListener listener)
- Adds mouse listener
- Parameters:
listener
-
removeTrayListener
public void removeTrayListener(java.awt.event.MouseListener listener)
- Removes mouse listener
- Parameters:
listener
-