Class SInternalFrameEvent
java.lang.Object
java.util.EventObject
java.awt.AWTEvent
com.vaadin.swingbridge.surrogates.awt.event.SComponentEvent
com.vaadin.swingbridge.surrogates.swing.event.SInternalFrameEvent
- All Implemented Interfaces:
Serializable
Surrogate-side port of
InternalFrameEvent.
Source retyped from javax.swing.JInternalFrame to Vaadin
Component per SD_event_port_stance — the surrogate that
emits this event (SJInternalFrame) extends Dialog (via SWindow),
so "the internal frame" is a Vaadin Component, not a Swing JComponent.
Constants preserved verbatim from InternalFrameEvent
so id arithmetic carries across unchanged — migrated code that
checks e.getID() == INTERNAL_FRAME_CLOSING works against either
value (same int).
Extends SComponentEvent (not JDK AWTEvent directly)
so it shares the surrogate ComponentEvent shape the other surrogate
event ports use (SWindowEvent takes the
same base). The Window↔InternalFrame parallel is exact: OPENED /
CLOSING / CLOSED / ICONIFIED / DEICONIFIED / ACTIVATED / DEACTIVATED map
1:1 onto the Window ids, driven from SJInternalFrame's lifecycle
(SD_internalframe_fire_seams).
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class SComponentEvent
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncom.vaadin.flow.component.ComponentSame asSComponentEvent.getComponent()but named to match the JDK shape.Methods inherited from class SComponentEvent
getComponentMethods inherited from class EventObject
getSource
-
Field Details
-
INTERNAL_FRAME_ACTIVATED
public static final int INTERNAL_FRAME_ACTIVATED- See Also:
-
INTERNAL_FRAME_CLOSED
public static final int INTERNAL_FRAME_CLOSED- See Also:
-
INTERNAL_FRAME_CLOSING
public static final int INTERNAL_FRAME_CLOSING- See Also:
-
INTERNAL_FRAME_DEACTIVATED
public static final int INTERNAL_FRAME_DEACTIVATED- See Also:
-
INTERNAL_FRAME_DEICONIFIED
public static final int INTERNAL_FRAME_DEICONIFIED- See Also:
-
INTERNAL_FRAME_FIRST
public static final int INTERNAL_FRAME_FIRST- See Also:
-
INTERNAL_FRAME_ICONIFIED
public static final int INTERNAL_FRAME_ICONIFIED- See Also:
-
INTERNAL_FRAME_LAST
public static final int INTERNAL_FRAME_LAST- See Also:
-
INTERNAL_FRAME_OPENED
public static final int INTERNAL_FRAME_OPENED- See Also:
-
-
Constructor Details
-
SInternalFrameEvent
public SInternalFrameEvent(com.vaadin.flow.component.Component source, int id)
-
-
Method Details
-
getInternalFrame
public com.vaadin.flow.component.Component getInternalFrame()Same asSComponentEvent.getComponent()but named to match the JDK shape. -
paramString
- Overrides:
paramStringin classSComponentEvent
-