ibm.techexplorer.awt.event
Interface FocusListener

All Known Subinterfaces:
techexplorerListener
All Known Implementing Classes:
FocusAdaptor, techexplorerAdaptor

public interface FocusListener

Description

This interface defines the methods that a Java object must implement to receive notifications for focus events on techexplorer instances. When a FocusEvent occurs, a techexplorer instance notifies registered listeners by invoking one of the methods defined in the FocusListener interface. The ibm.techexplorer.techexplorer Java reflection of the techexplorer plug-in provides the addFocusListener and removeFocusListener methods for managing FocusListener objects.

The ibm.techexplorer.awt.event.FocusAdaptor class can be used as it provides empty default implementations for each of the methods imposed by the FocusListener interface.

See Also:
techexplorer, AWTEvent, FocusEvent, FocusAdaptor

Method Summary
 void focusGained(FocusEvent e)
          Invoked when a techexplorer instance gains the focus.
 void focusLost(FocusEvent e)
          Invoked when a techexplorer instance loses the focus.
 

Method Detail

focusGained

public void focusGained(FocusEvent e)
Invoked when a techexplorer instance gains the focus.

focusLost

public void focusLost(FocusEvent e)
Invoked when a techexplorer instance loses the focus.