Example usage for Java java.awt.event FocusEvent fields, constructors, methods, implement or subclass
The text is from its open source code.
int | FOCUS_FIRST The first number in the range of ids used for focus events. |
int | FOCUS_LAST The last number in the range of ids used for focus events. |
int | FOCUS_GAINED This event indicates that the Component is now the focus owner. |
int | FOCUS_LOST This event indicates that the Component is no longer the focus owner. |
FocusEvent(Component source, int id) Constructs a FocusEvent object and identifies it as a permanent change in focus. | |
FocusEvent(Component source, int id, boolean temporary, Component opposite) Constructs a FocusEvent object with the specified temporary state, opposite Component and the Cause.UNKNOWN cause. |
Component | getComponent() Returns the originator of the event. |
int | getID() Returns the event type. |
Component | getOppositeComponent() Returns the other Component involved in this focus change. |
Object | getSource() The object on which the Event initially occurred. |
boolean | isTemporary() Identifies the focus change event as temporary or permanent. |
String | paramString() Returns a parameter string identifying this event. |
String | toString() Returns a String representation of this object. |