java.lang.Object
org.jhotdraw8.fxcontrols.dock.AbstractDockable
- Direct Known Subclasses:
SimpleDockable
Abstract base class for implementations of
Dockable.-
Property Summary
PropertiesTypePropertyDescription@NonNull javafx.beans.property.ObjectProperty<DockParent> Gets the parent of this node.@NonNull javafx.beans.property.ObjectProperty<javafx.scene.Node> The graphic of this dockable.@NonNull javafx.beans.property.BooleanPropertyWhether this dock child is showing.@NonNull javafx.beans.property.StringPropertyThe text of this dockable. -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final javafx.beans.property.ObjectProperty<DockParent> protected final javafx.beans.property.ObjectProperty<javafx.scene.Node> protected final javafx.beans.property.BooleanPropertyprotected final javafx.beans.property.StringPropertyFields inherited from interface org.jhotdraw8.fxcontrols.dock.Dockable
GRAPHIC_PROPERTY, TEXT_PROPERTYFields inherited from interface org.jhotdraw8.fxcontrols.dock.DockChild
SHOWING_PROPERTYFields inherited from interface org.jhotdraw8.fxcontrols.dock.DockNode
DOCK_PARENT_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription@NonNull javafx.beans.property.ObjectProperty<DockParent> Gets the parent of this node.Gets the children of this node.@NonNull javafx.beans.property.ObjectProperty<javafx.scene.Node> The graphic of this dockable.@NonNull javafx.beans.property.BooleanPropertyWhether this dock child is showing.@NonNull javafx.beans.property.StringPropertyThe text of this dockable.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jhotdraw8.fxcontrols.dock.Dockable
getGraphic, getText, setGraphic, setTextMethods inherited from interface org.jhotdraw8.fxcontrols.dock.DockChild
isShowing, setShowingMethods inherited from interface org.jhotdraw8.fxcontrols.dock.DockNode
getDockParent, getDockRoot, getNode, setDockParent
-
Property Details
-
graphic
- Specified by:
graphicPropertyin interfaceDockable- Returns:
- the graphic
- See Also:
-
text
- Specified by:
textPropertyin interfaceDockable- Returns:
- the graphic
- See Also:
-
showing
- Specified by:
showingPropertyin interfaceDockChild- Returns:
- true if this dock child is showing.
- See Also:
-
dockParent
- Specified by:
dockParentPropertyin interfaceDockNode- See Also:
-
-
Field Details
-
dockParent
-
graphic
protected final javafx.beans.property.ObjectProperty<javafx.scene.Node> graphic -
text
protected final javafx.beans.property.StringProperty text -
showing
protected final javafx.beans.property.BooleanProperty showing
-
-
Constructor Details
-
AbstractDockable
public AbstractDockable()
-
-
Method Details
-
graphicProperty
Description copied from interface:DockableThe graphic of this dockable.The user uses the graphic to drag and drop the dockable.
- Specified by:
graphicPropertyin interfaceDockable- Returns:
- the
graphicproperty
-
textProperty
Description copied from interface:DockableThe text of this dockable.The user uses the text to identify the dockable.
- Specified by:
textPropertyin interfaceDockable- Returns:
- the
textproperty
-
showingProperty
Description copied from interface:DockChildWhether this dock child is showing.A dock child that is not showing should not consume CPU resources.
This property is set by
DockParent, for example depending on whether this dockable is in a collapsed pane.- Specified by:
showingPropertyin interfaceDockChild- Returns:
- the
showingproperty
-
dockParentProperty
Description copied from interface:DockNodeGets the parent of this node.- Specified by:
dockParentPropertyin interfaceDockNode- Returns:
- the
dockParentproperty
-
getDockChildrenReadOnly
Description copied from interface:DockNodeGets the children of this node.- Specified by:
getDockChildrenReadOnlyin interfaceDockNode- Returns:
- the children
-