Class AncestorEvent
java.lang.Object
java.util.EventObject
java.awt.AWTEvent
vaadinx.swing.event.AncestorEvent
- All Implemented Interfaces:
Serializable
Port of
AncestorEvent. Forced to port (D_event_port_policy) —
JDK's ctor signature
AncestorEvent(javax.swing.JComponent, int, java.awt.Container, java.awt.Container)
doesn't accept our JComponent or
Container as its source / ancestor arguments.
Constants (ANCESTOR_ADDED / ANCESTOR_REMOVED /
ANCESTOR_MOVED) preserved verbatim from JDK so id-arithmetic
carries across.
Mirrors the shape of
com.vaadin.swingbridge.surrogates.awt.event.SAncestorEvent; the two-layer artefact
is stage-divergence per CLAUDE.md ("apparent two-layer artefacts are
stage-divergence, not API confusion") — emulator-stage code uses this
type, surrogate-stage code uses SAncestorEvent.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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
ConstructorsConstructorDescriptionAncestorEvent(JComponent source, int id, Container ancestor, Container ancestorParent) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class EventObject
getSource
-
Field Details
-
ANCESTOR_ADDED
public static final int ANCESTOR_ADDED- See Also:
-
ANCESTOR_REMOVED
public static final int ANCESTOR_REMOVED- See Also:
-
ANCESTOR_MOVED
public static final int ANCESTOR_MOVED- See Also:
-
-
Constructor Details
-
AncestorEvent
-
-
Method Details
-
getAncestor
-
getAncestorParent
-
getComponent
-
paramString
- Overrides:
paramStringin classAWTEvent
-