Interface DockParent

All Superinterfaces:
DockChild, DockNode
All Known Subinterfaces:
DockRoot, Track
All Known Implementing Classes:
AbstractDockParent, AbstractDockRoot, HBoxTrack, SimpleDockRoot, SplitPaneTrack, TabbedAccordionTrack, TabPaneTrack, VBoxTrack

public interface DockParent extends DockChild
A DockParent provides screen space for one or more DockChildren.

The DockParent lays out the screen space along an implementation-specific TrackAxis.

  • Property Details

  • Field Details

  • Method Details

    • getDockChildren

      @NonNull javafx.collections.ObservableList<DockChild> getDockChildren()
    • getDockChildrenReadOnly

      default @NonNull ReadOnlyList<DockChild> getDockChildrenReadOnly()
      Description copied from interface: DockNode
      Gets the children of this node.
      Specified by:
      getDockChildrenReadOnly in interface DockNode
      Returns:
      the children
    • editableProperty

      @NonNull javafx.beans.property.BooleanProperty editableProperty()
      Whether this dock parent is editable.
      Returns:
      true if this dock parent is editable.
      See Also:
    • isEditable

      default boolean isEditable()
      Returns whether the user can edit this dock parent.
      Returns:
      true if the user can edit this dock parent.
    • setEditable

      default void setEditable(boolean value)
      Sets whether the user can edit this dock parent.
      Parameters:
      value - true if the user can edit this dock parent.
    • getDockAxis

      @NonNull TrackAxis getDockAxis()
    • isResizesDockChildren

      boolean isResizesDockChildren()
      Returns true if this parent dock resizes the items. If this method returns true, a dock child should not provide resize controls.
      Returns:
      true if the track resizes items.