Class AncestorEvent

java.lang.Object
java.util.EventObject
java.awt.AWTEvent
vaadinx.swing.event.AncestorEvent
All Implemented Interfaces:
Serializable

public class AncestorEvent extends AWTEvent
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: