java.awt
Class Component.AccessibleAWTComponent.AccessibleAWTFocusHandler

java.lang.Object sample code for java.lang.Object definition code for java.lang.Object 
  extended by java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler
All Implemented Interfaces:
FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener , EventListener sample code for java.util.EventListener definition code for java.util.EventListener
Enclosing class:
Component.AccessibleAWTComponent sample code for java.awt.Component.AccessibleAWTComponent definition code for java.awt.Component.AccessibleAWTComponent

protected class Component.AccessibleAWTComponent.AccessibleAWTFocusHandler
extends Object sample code for java.lang.Object definition code for java.lang.Object
implements FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener

Fire PropertyChange listener, if one is registered, when focus events happen


Constructor Summary
protected Component.AccessibleAWTComponent.AccessibleAWTFocusHandler sample code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler() definition code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler() ()
           
 
Method Summary
 void focusGained sample code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusGained(java.awt.event.FocusEvent) definition code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusGained(java.awt.event.FocusEvent) (FocusEvent sample code for java.awt.event.FocusEvent definition code for java.awt.event.FocusEvent  event)
          Invoked when a component gains the keyboard focus.
 void focusLost sample code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusLost(java.awt.event.FocusEvent) definition code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusLost(java.awt.event.FocusEvent) (FocusEvent sample code for java.awt.event.FocusEvent definition code for java.awt.event.FocusEvent  event)
          Invoked when a component loses the keyboard focus.
 
Methods inherited from class java.lang.Object sample code for java.lang.Object definition code for java.lang.Object
clone sample code for java.lang.Object.clone() definition code for java.lang.Object.clone() , equals sample code for java.lang.Object.equals(java.lang.Object) definition code for java.lang.Object.equals(java.lang.Object) , finalize sample code for java.lang.Object.finalize() definition code for java.lang.Object.finalize() , getClass sample code for java.lang.Object.getClass() definition code for java.lang.Object.getClass() , hashCode sample code for java.lang.Object.hashCode() definition code for java.lang.Object.hashCode() , notify sample code for java.lang.Object.notify() definition code for java.lang.Object.notify() , notifyAll sample code for java.lang.Object.notifyAll() definition code for java.lang.Object.notifyAll() , toString sample code for java.lang.Object.toString() definition code for java.lang.Object.toString() , wait sample code for java.lang.Object.wait() definition code for java.lang.Object.wait() , wait sample code for java.lang.Object.wait(long) definition code for java.lang.Object.wait(long) , wait sample code for java.lang.Object.wait(long, int) definition code for java.lang.Object.wait(long, int)
 

Constructor Detail

Component.AccessibleAWTComponent.AccessibleAWTFocusHandler sample code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler() definition code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler()

protected Component.AccessibleAWTComponent.AccessibleAWTFocusHandler()
Method Detail

focusGained sample code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusGained(java.awt.event.FocusEvent) definition code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusGained(java.awt.event.FocusEvent)

public void focusGained(FocusEvent sample code for java.awt.event.FocusEvent definition code for java.awt.event.FocusEvent  event)
Description copied from interface: FocusListener sample code for java.awt.event.FocusListener.focusGained(java.awt.event.FocusEvent) definition code for java.awt.event.FocusListener.focusGained(java.awt.event.FocusEvent)
Invoked when a component gains the keyboard focus.

Specified by:
focusGained sample code for java.awt.event.FocusListener.focusGained(java.awt.event.FocusEvent) definition code for java.awt.event.FocusListener.focusGained(java.awt.event.FocusEvent) in interface FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener

focusLost sample code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusLost(java.awt.event.FocusEvent) definition code for java.awt.Component.AccessibleAWTComponent.AccessibleAWTFocusHandler.focusLost(java.awt.event.FocusEvent)

public void focusLost(FocusEvent sample code for java.awt.event.FocusEvent definition code for java.awt.event.FocusEvent  event)
Description copied from interface: FocusListener sample code for java.awt.event.FocusListener.focusLost(java.awt.event.FocusEvent) definition code for java.awt.event.FocusListener.focusLost(java.awt.event.FocusEvent)
Invoked when a component loses the keyboard focus.

Specified by:
focusLost sample code for java.awt.event.FocusListener.focusLost(java.awt.event.FocusEvent) definition code for java.awt.event.FocusListener.focusLost(java.awt.event.FocusEvent) in interface FocusListener sample code for java.awt.event.FocusListener definition code for java.awt.event.FocusListener