Class DockingPaneSkin

java.lang.Object
javafx.scene.control.SkinBase<DockingPane>
com.dlsc.gemsfx.skins.DockingPaneSkin
All Implemented Interfaces:
javafx.scene.control.Skin<DockingPane>

public class DockingPaneSkin extends javafx.scene.control.SkinBase<DockingPane>
Skin of DockingPane. Structural changes rebuild the rendered scene graph from the current DockingLayoutNode snapshot; selection-only changes update existing tab groups in place.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a skin for the specified docking pane.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
    protected void
    layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight)
     
    protected boolean
    startDockableDrag(javafx.scene.Node title, String dockableId)
    Starts the JavaFX drag gesture for a dockable title.

    Methods inherited from class javafx.scene.control.SkinBase

    computeBaselineOffset, computeMaxHeight, computeMaxWidth, computeMinHeight, computeMinWidth, computePrefHeight, computePrefWidth, consumeMouseEvents, executeAccessibleAction, getChildren, getClassCssMetaData, getCssMetaData, getNode, getSkinnable, layoutInArea, layoutInArea, layoutInArea, positionInArea, positionInArea, pseudoClassStateChanged, queryAccessibleAttribute, registerChangeListener, registerInvalidationListener, registerListChangeListener, snappedBottomInset, snappedLeftInset, snappedRightInset, snappedTopInset, snapPosition, snapPositionX, snapPositionY, snapSize, snapSizeX, snapSizeY, snapSpace, snapSpaceX, snapSpaceY, unregisterChangeListeners, unregisterInvalidationListeners, unregisterListChangeListeners

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DockingPaneSkin

      public DockingPaneSkin(DockingPane pane)
      Creates a skin for the specified docking pane.
      Parameters:
      pane - the pane to render
  • Method Details

    • layoutChildren

      protected void layoutChildren(double contentX, double contentY, double contentWidth, double contentHeight)
      Overrides:
      layoutChildren in class javafx.scene.control.SkinBase<DockingPane>
    • dispose

      public void dispose()
      Specified by:
      dispose in interface javafx.scene.control.Skin<DockingPane>
      Overrides:
      dispose in class javafx.scene.control.SkinBase<DockingPane>
    • startDockableDrag

      protected boolean startDockableDrag(javafx.scene.Node title, String dockableId)
      Starts the JavaFX drag gesture for a dockable title.
      Parameters:
      title - the title node that initiated the drag
      dockableId - the ID carried by the drag gesture
      Returns:
      true if the dragboard accepted the dockable ID