aicas logoJamaica 3.2 release 62

java.awt.event
Class FocusAdapter

java.lang.Object
  extended by java.awt.event.FocusAdapter
All Implemented Interfaces:
FocusListener, EventListener

public abstract class FocusAdapter
extends Object
implements FocusListener

This class implements FocusListener and implements all methods with empty bodies. This allows a listener interested in implementing only a subset of the FocusListener interface to extend this class and override only the desired methods.

Since:
1.1
See Also:
FocusEvent, FocusListener
Status:
updated to 1.4

Constructor Summary
FocusAdapter()
          Do nothing default constructor for subclasses.
 
Method Summary
 void focusGained(FocusEvent event)
          Implements this method from the interface with an empty body.
 void focusLost(FocusEvent event)
          Implements this method from the interface with an empty body.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FocusAdapter

public FocusAdapter()
Do nothing default constructor for subclasses.

Method Detail

focusGained

public void focusGained(FocusEvent event)
Implements this method from the interface with an empty body.

Specified by:
focusGained in interface FocusListener
Parameters:
event - the event, ignored in this implementation

focusLost

public void focusLost(FocusEvent event)
Implements this method from the interface with an empty body.

Specified by:
focusLost in interface FocusListener
Parameters:
event - the event, ignored in this implementation

aicas logoJamaica 3.2 release 62

aicas GmbH, Karlsruhe - Germany    www.aicas.com
Copyright 2001-2008 aicas GmbH. All Rights Reserved.