SysTray for Java
v2.4.1  

snoozesoft.systray4j
Interface SysTrayMenuListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
SysTrayMenuAdapter

public interface SysTrayMenuListener
extends java.util.EventListener

The interface that systray menu listeners must implement in order to receive systray menu events from systray icons or menu items.


Method Summary
 void iconLeftClicked(SysTrayMenuEvent e)
          Called when the systray icon was left-clicked.
 void iconLeftDoubleClicked(SysTrayMenuEvent e)
          Called when the systray icon was left-double-clicked.
 void menuItemSelected(SysTrayMenuEvent e)
          Called when a menu item was selected.
 

Method Detail

iconLeftClicked

public void iconLeftClicked(SysTrayMenuEvent e)
Called when the systray icon was left-clicked.

Parameters:
e - The context of this event.

iconLeftDoubleClicked

public void iconLeftDoubleClicked(SysTrayMenuEvent e)
Called when the systray icon was left-double-clicked.

Parameters:
e - The context of this event.

menuItemSelected

public void menuItemSelected(SysTrayMenuEvent e)
Called when a menu item was selected.

Parameters:
e - The context of this event.

SysTray for Java
v2.4.1