SysTray for Java
v2.4.1  

snoozesoft.systray4j
Class SysTrayMenuAdapter

java.lang.Object
  extended bysnoozesoft.systray4j.SysTrayMenuAdapter
All Implemented Interfaces:
java.util.EventListener, SysTrayMenuListener

public class SysTrayMenuAdapter
extends java.lang.Object
implements SysTrayMenuListener

An abstract adapter class for receiving systray menu events. The methods in this class are empty. This class exists as convenience for creating listener objects.


Constructor Summary
SysTrayMenuAdapter()
           
 
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.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SysTrayMenuAdapter

public SysTrayMenuAdapter()
Method Detail

iconLeftClicked

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

Specified by:
iconLeftClicked in interface SysTrayMenuListener
Parameters:
e - The context of this event.

iconLeftDoubleClicked

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

Specified by:
iconLeftDoubleClicked in interface SysTrayMenuListener
Parameters:
e - The context of this event.

menuItemSelected

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

Specified by:
menuItemSelected in interface SysTrayMenuListener
Parameters:
e - The context of this event.

SysTray for Java
v2.4.1