- All Superinterfaces:
DockChild,DockNode,DockParent
- All Known Implementing Classes:
AbstractDockRoot,SimpleDockRoot
-
Property Summary
PropertiesTypePropertyDescriptionOnlyDockables accepted by this filter can be docked.We store the dragged item here, because we move the reference of a DockItem with the drag board rather than a value of the DockItem.Properties inherited from interface org.jhotdraw8.fxcontrols.dock.DockNode
dockParentProperties inherited from interface org.jhotdraw8.fxcontrols.dock.DockParent
editable -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final javafx.scene.input.DataFormatData format used for dragging a DockItem with the drag board.static final javafx.beans.property.ObjectProperty<Dockable> We store the dragged item here, because we move the reference of a DockItem with the drag board rather than a value of the DockItem.Fields inherited from interface org.jhotdraw8.fxcontrols.dock.DockChild
SHOWING_PROPERTYFields inherited from interface org.jhotdraw8.fxcontrols.dock.DockNode
DOCK_PARENT_PROPERTYFields inherited from interface org.jhotdraw8.fxcontrols.dock.DockParent
EDITABLE_PROPERTY -
Method Summary
Modifier and TypeMethodDescriptionOnlyDockables accepted by this filter can be docked.We store the dragged item here, because we move the reference of a DockItem with the drag board rather than a value of the DockItem.Gets the value of thedockablePredicateproperty.Gets the value of thedraggedDockableproperty.@NonNull javafx.scene.ParentgetNode()default voidSets the value of thedockablePredicateproperty.static voidsetDraggedDockable(@Nullable Dockable value) Sets the value of thedraggedDockableproperty.Methods inherited from interface org.jhotdraw8.fxcontrols.dock.DockChild
isShowing, setShowing, showingPropertyMethods inherited from interface org.jhotdraw8.fxcontrols.dock.DockNode
dockParentProperty, getDockParent, getDockRoot, setDockParentMethods inherited from interface org.jhotdraw8.fxcontrols.dock.DockParent
editableProperty, getDockAxis, getDockChildren, getDockChildrenReadOnly, isEditable, isResizesDockChildren, setEditable
-
Property Details
-
draggedDockable
We store the dragged item here, because we move the reference of a DockItem with the drag board rather than a value of the DockItem.- See Also:
-
dockablePredicate
OnlyDockables accepted by this filter can be docked.This can be used to restrict docking to dockables that belong to the same
Activity.- See Also:
-
-
Field Details
-
DOCKABLE_DATA_FORMAT
static final javafx.scene.input.DataFormat DOCKABLE_DATA_FORMATData format used for dragging a DockItem with the drag board. The value of this data format is theSystem.identityHashCode(Object)of the dragged leaf. -
draggedDockable
We store the dragged item here, because we move the reference of a DockItem with the drag board rather than a value of the DockItem.
-
-
Method Details
-
draggedDockableProperty
We store the dragged item here, because we move the reference of a DockItem with the drag board rather than a value of the DockItem.- Returns:
- the
draggedDockableproperty - See Also:
-
getDraggedDockable
Gets the value of thedraggedDockableproperty.- Property description:
- We store the dragged item here, because we move the reference of a DockItem with the drag board rather than a value of the DockItem.
- Returns:
- the value of the
draggedDockableproperty - See Also:
-
setDraggedDockable
Sets the value of thedraggedDockableproperty.- Property description:
- We store the dragged item here, because we move the reference of a DockItem with the drag board rather than a value of the DockItem.
- Parameters:
value- the value for thedraggedDockableproperty- See Also:
-
dockablePredicateProperty
OnlyDockables accepted by this filter can be docked.This can be used to restrict docking to dockables that belong to the same
Activity.- Returns:
- filter for accepting
Dockables - See Also:
-
getDockablePredicate
Gets the value of thedockablePredicateproperty. -
setDockablePredicate
Sets the value of thedockablePredicateproperty. -
getNode
@NonNull javafx.scene.Parent getNode()
-