Class DockingEvent
java.lang.Object
java.util.EventObject
javafx.event.Event
com.dlsc.gemsfx.docking.DockingEvent
- All Implemented Interfaces:
Serializable, Cloneable
public class DockingEvent
extends javafx.event.Event
Notification that a dockable has been opened, closed, or moved. Events are
delivered synchronously to handlers registered on the owning context.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final javafx.event.EventType<DockingEvent> The common supertype of all docking lifecycle events.static final javafx.event.EventType<DockingEvent> A dockable was removed; it has not yet been disposed.static final javafx.event.EventType<DockingEvent> A dockable was moved or reordered.static final javafx.event.EventType<DockingEvent> A dockable was added to the context.Fields inherited from class javafx.event.Event
consumed, eventType, NULL_SOURCE_TARGET, targetFields inherited from class EventObject
source -
Method Summary
Modifier and TypeMethodDescriptionfinal DockableReturns the affected dockable.final DockingPaneReturns the destination pane, ornullfor a close event.final DockingPaneReturns the source pane, ornullfor an open event.Methods inherited from class javafx.event.Event
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumedMethods inherited from class EventObject
getSource, toString
-
Field Details
-
ANY
The common supertype of all docking lifecycle events. -
OPENED
A dockable was added to the context. -
CLOSED
A dockable was removed; it has not yet been disposed. -
MOVED
A dockable was moved or reordered.
-
-
Method Details
-
getDockable
-
getOldPane
Returns the source pane, ornullfor an open event.- Returns:
- the source pane
-
getNewPane
Returns the destination pane, ornullfor a close event.- Returns:
- the destination pane
-