All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.awt.event.FocusEvent

java.lang.Object
   |
   +----java.util.EventObject
           |
           +----java.awt.AWTEvent
                   |
                   +----java.awt.event.ComponentEvent
                           |
                           +----java.awt.event.FocusEvent

public class FocusEvent
extends ComponentEvent
The component-level focus event.


Variable Index

 o FOCUS_FIRST
Marks the first integer id for the range of focus event ids.
 o FOCUS_GAINED
The focus gained event type.
 o FOCUS_LAST
Marks the last integer id for the range of focus event ids.
 o FOCUS_LOST
The focus lost event type.

Constructor Index

 o FocusEvent(Component, int)
Constructs a FocusEvent object with the specified source component and type.
 o FocusEvent(Event)
Constructs a FocusEvent object from the parameters of a 1.0-style event.

Method Index

 o paramString()

Variables

 o FOCUS_FIRST
  public final static int FOCUS_FIRST
Marks the first integer id for the range of focus event ids.

 o FOCUS_LAST
  public final static int FOCUS_LAST
Marks the last integer id for the range of focus event ids.

 o FOCUS_GAINED
  public final static int FOCUS_GAINED
The focus gained event type.

 o FOCUS_LOST
  public final static int FOCUS_LOST
The focus lost event type.

Constructors

 o FocusEvent
  public FocusEvent(Event event)
Constructs a FocusEvent object from the parameters of a 1.0-style event.

Parameters:
event - the old-style event
 o FocusEvent
  public FocusEvent(Component source,
                    int id)
Constructs a FocusEvent object with the specified source component and type.

Parameters:
source - the object where the event originated

Methods

 o paramString
  public String paramString()
Overrides:
paramString in class ComponentEvent

All Packages  Class Hierarchy  This Package  Previous  Next  Index