com.jniwrapper.win32.shell
Class TrayIconMouseAdapter

java.lang.Object
  extended bycom.jniwrapper.win32.shell.TrayIconMouseAdapter
All Implemented Interfaces:
TrayIconListener

public class TrayIconMouseAdapter
extends java.lang.Object
implements TrayIconListener


Field Summary
static java.lang.String FUNCTION_GetDoubleClickTime
           
 
Constructor Summary
TrayIconMouseAdapter()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FUNCTION_GetDoubleClickTime

public static final java.lang.String FUNCTION_GetDoubleClickTime
See Also:
Constant Field Values
Constructor Detail

TrayIconMouseAdapter

public TrayIconMouseAdapter()
Method Detail

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_MOUSEHOVER
x - 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 -