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

    Fields
    Modifier and Type
    Field
    Description
    static 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, target

    Fields inherited from class EventObject

    source
  • Method Summary

    Modifier and Type
    Method
    Description
    final Dockable
    Returns the affected dockable.
    Returns the destination pane, or null for a close event.
    Returns the source pane, or null for an open event.

    Methods inherited from class javafx.event.Event

    clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumed

    Methods inherited from class EventObject

    getSource, toString

    Methods inherited from class Object

    equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • ANY

      public static final javafx.event.EventType<DockingEvent> ANY
      The common supertype of all docking lifecycle events.
    • OPENED

      public static final javafx.event.EventType<DockingEvent> OPENED
      A dockable was added to the context.
    • CLOSED

      public static final javafx.event.EventType<DockingEvent> CLOSED
      A dockable was removed; it has not yet been disposed.
    • MOVED

      public static final javafx.event.EventType<DockingEvent> MOVED
      A dockable was moved or reordered.
  • Method Details

    • getDockable

      public final Dockable getDockable()
      Returns the affected dockable.
      Returns:
      the dockable
    • getOldPane

      public final DockingPane getOldPane()
      Returns the source pane, or null for an open event.
      Returns:
      the source pane
    • getNewPane

      public final DockingPane getNewPane()
      Returns the destination pane, or null for a close event.
      Returns:
      the destination pane