com.jniwrapper.win32.shell
Interface TrayIconListener
- All Known Implementing Classes:
- TrayIconMouseAdapter
public interface TrayIconListener
Defines interface for tray icon listener classes.
trayActionPerformed
void trayActionPerformed(long message,
int x,
int y)
- 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.