Class FocusEvent
java.lang.Object
java.util.EventObject
java.awt.AWTEvent
vaadinx.awt.event.ComponentEvent
vaadinx.awt.event.FocusEvent
- All Implemented Interfaces:
Serializable
Port of
FocusEvent. Fired on focus gained/lost
transitions; our dispatch is a stub today but the type surface is ported
so peer-originating focus events can eventually land here (D_event_port_policy → D_callswing_funnel).- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class ComponentEvent
COMPONENT_FIRST, COMPONENT_HIDDEN, COMPONENT_LAST, COMPONENT_MOVED, COMPONENT_RESIZED, COMPONENT_SHOWNFields inherited from class AWTEvent
ACTION_EVENT_MASK, ADJUSTMENT_EVENT_MASK, COMPONENT_EVENT_MASK, consumed, CONTAINER_EVENT_MASK, FOCUS_EVENT_MASK, HIERARCHY_BOUNDS_EVENT_MASK, HIERARCHY_EVENT_MASK, id, INPUT_METHOD_EVENT_MASK, INVOCATION_EVENT_MASK, ITEM_EVENT_MASK, KEY_EVENT_MASK, MOUSE_EVENT_MASK, MOUSE_MOTION_EVENT_MASK, MOUSE_WHEEL_EVENT_MASK, PAINT_EVENT_MASK, RESERVED_ID_MAX, TEXT_EVENT_MASK, WINDOW_EVENT_MASK, WINDOW_FOCUS_EVENT_MASK, WINDOW_STATE_EVENT_MASKFields inherited from class EventObject
source -
Constructor Summary
ConstructorsConstructorDescriptionFocusEvent(Component source, int id) FocusEvent(Component source, int id, boolean temporary) FocusEvent(Component source, int id, boolean temporary, Component opposite) FocusEvent(Component source, int id, boolean temporary, Component opposite, FocusEvent.Cause cause) -
Method Summary
Methods inherited from class ComponentEvent
getComponentMethods inherited from class EventObject
getSource
-
Field Details
-
FOCUS_FIRST
public static final int FOCUS_FIRST- See Also:
-
FOCUS_LAST
public static final int FOCUS_LAST- See Also:
-
FOCUS_GAINED
public static final int FOCUS_GAINED- See Also:
-
FOCUS_LOST
public static final int FOCUS_LOST- See Also:
-
-
Constructor Details
-
FocusEvent
public FocusEvent(Component source, int id, boolean temporary, Component opposite, FocusEvent.Cause cause) -
FocusEvent
-
FocusEvent
-
FocusEvent
-
-
Method Details
-
isTemporary
public boolean isTemporary() -
getOppositeComponent
-
getCause
-
paramString
- Overrides:
paramStringin classComponentEvent
-