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.
-
FOCUS_FIRST
- Marks the first integer id for the range of focus event ids.
-
FOCUS_GAINED
- The focus gained event type.
-
FOCUS_LAST
- Marks the last integer id for the range of focus event ids.
-
FOCUS_LOST
- The focus lost event type.
-
FocusEvent(Component, int)
- Constructs a FocusEvent object with the specified source component
and type.
-
FocusEvent(Event)
- Constructs a FocusEvent object from the parameters of a 1.0-style event.
-
paramString()
-
FOCUS_FIRST
public final static int FOCUS_FIRST
- Marks the first integer id for the range of focus event ids.
FOCUS_LAST
public final static int FOCUS_LAST
- Marks the last integer id for the range of focus event ids.
FOCUS_GAINED
public final static int FOCUS_GAINED
- The focus gained event type.
FOCUS_LOST
public final static int FOCUS_LOST
- The focus lost event type.
FocusEvent
public FocusEvent(Event event)
- Constructs a FocusEvent object from the parameters of a 1.0-style event.
- Parameters:
- event - the old-style event
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
paramString
public String paramString()
- Overrides:
- paramString in class ComponentEvent
All Packages Class Hierarchy This Package Previous Next Index