java.lang.Object
javafx.scene.control.TreeItem<T>
atlantafx.base.controls.Breadcrumbs.BreadCrumbItem<T>
- Type Parameters:
T
- The type of the value property within BreadCrumbItem.
- All Implemented Interfaces:
javafx.event.EventTarget
- Enclosing class:
Breadcrumbs<T>
public static class Breadcrumbs.BreadCrumbItem<T>
extends javafx.scene.control.TreeItem<T>
BreadCrumbItem
extends TreeItem
, providing support
for navigating hierarchical structures.-
Nested Class Summary
Nested classes/interfaces inherited from class javafx.scene.control.TreeItem
javafx.scene.control.TreeItem.TreeModificationEvent<T>
-
Property Summary
Properties inherited from class javafx.scene.control.TreeItem
expanded, graphic, leaf, parent, value
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionBreadCrumbItem
(T value) Creates a BreadCrumbItem with the value property set to the provided object. -
Method Summary
Modifier and TypeMethodDescriptionprotected String
boolean
isFirst()
Use this method to determine if this item is at the beginning, so you can create bread crumbs accordingly.boolean
isLast()
Use this method to determine if this item is at the end, so you can create breadcrumbs accordingly.protected void
setFirst
(boolean first) protected void
setLast
(boolean last) Methods inherited from class javafx.scene.control.TreeItem
addEventFilter, addEventHandler, branchCollapsedEvent, branchExpandedEvent, buildEventDispatchChain, childrenModificationEvent, expandedItemCountChangeEvent, expandedProperty, getChildren, getGraphic, getParent, getValue, graphicChangedEvent, graphicProperty, isExpanded, isLeaf, leafProperty, nextSibling, nextSibling, parentProperty, previousSibling, previousSibling, removeEventFilter, removeEventHandler, setExpanded, setGraphic, setValue, toString, treeNotificationEvent, valueChangedEvent, valueProperty
-
Field Details
-
first
protected boolean first -
last
protected boolean last
-
-
Constructor Details
-
BreadCrumbItem
Creates a BreadCrumbItem with the value property set to the provided object.- Parameters:
value
- The object to be stored as the value of this BreadCrumbItem.
-
-
Method Details
-
isFirst
public boolean isFirst()Use this method to determine if this item is at the beginning, so you can create bread crumbs accordingly. -
isLast
public boolean isLast()Use this method to determine if this item is at the end, so you can create breadcrumbs accordingly. -
setFirst
protected void setFirst(boolean first) -
setLast
protected void setLast(boolean last) -
getStringValue
-