Class SComponentEvent
java.lang.Object
java.util.EventObject
java.awt.AWTEvent
com.vaadin.swingbridge.surrogates.awt.event.SComponentEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SContainerEvent, SFocusEvent, SHierarchyEvent, SInputEvent, SInternalFrameEvent, SWindowEvent
Surrogate-side port of
ComponentEvent. Source type
retyped from Component to Component
because our surrogates are Vaadin components, not AWT components (SD_event_port_stance).
Constants preserved verbatim so bitmask/ID arithmetic carries across
unchanged. Extends JDK AWTEvent unchanged — its source field is
typed as Object, so reuse is fine (no port needed).
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.component.ComponentThe Vaadin component that originated this event.Methods inherited from class EventObject
getSource
-
Field Details
-
COMPONENT_FIRST
public static final int COMPONENT_FIRST- See Also:
-
COMPONENT_HIDDEN
public static final int COMPONENT_HIDDEN- See Also:
-
COMPONENT_LAST
public static final int COMPONENT_LAST- See Also:
-
COMPONENT_MOVED
public static final int COMPONENT_MOVED- See Also:
-
COMPONENT_RESIZED
public static final int COMPONENT_RESIZED- See Also:
-
COMPONENT_SHOWN
public static final int COMPONENT_SHOWN- See Also:
-
-
Constructor Details
-
SComponentEvent
public SComponentEvent(com.vaadin.flow.component.Component source, int id)
-
-
Method Details
-
getComponent
public com.vaadin.flow.component.Component getComponent()The Vaadin component that originated this event. -
paramString
- Overrides:
paramStringin classAWTEvent
-