Interface Dockable

All Superinterfaces:
DockChild, DockNode
All Known Implementing Classes:
AbstractDockable, SimpleDockable

public interface Dockable extends DockChild
Represents a dock child that the user can drag from one Track to another Track.
  • Property Details

  • Field Details

  • Method Details

    • graphicProperty

      @NonNull javafx.beans.property.ObjectProperty<javafx.scene.Node> graphicProperty()
      The graphic of this dockable.

      The user uses the graphic to drag and drop the dockable.

      Returns:
      the graphic
      See Also:
    • getGraphic

      default javafx.scene.Node getGraphic()
      Gets the value of the graphic property.
      Property description:
      The graphic of this dockable.

      The user uses the graphic to drag and drop the dockable.

      Returns:
      the value of the graphic property
      See Also:
    • setGraphic

      default void setGraphic(javafx.scene.Node value)
      Sets the value of the graphic property.
      Property description:
      The graphic of this dockable.

      The user uses the graphic to drag and drop the dockable.

      Parameters:
      value - the value for the graphic property
      See Also:
    • textProperty

      @NonNull javafx.beans.property.StringProperty textProperty()
      The text of this dockable.

      The user uses the text to identify the dockable.

      Returns:
      the graphic
      See Also:
    • getText

      default String getText()
      Gets the value of the text property.
      Property description:
      The text of this dockable.

      The user uses the text to identify the dockable.

      Returns:
      the value of the text property
      See Also:
    • setText

      default void setText(String value)
      Sets the value of the text property.
      Property description:
      The text of this dockable.

      The user uses the text to identify the dockable.

      Parameters:
      value - the value for the text property
      See Also: