Class Breadcrumbs.BreadCrumbItem<T>

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.
  • Property Summary

    Properties inherited from class javafx.scene.control.TreeItem

    expanded, graphic, leaf, parent, value
  • Nested Class Summary

    Nested classes/interfaces inherited from class javafx.scene.control.TreeItem

    javafx.scene.control.TreeItem.TreeModificationEvent<T extends Object>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected boolean
     
    protected boolean
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates a BreadCrumbItem with the value property set to the provided object.
  • Method Summary

    Modifier and Type
    Method
    Description
    protected String
     
    boolean
    Use this method to determine if this item is at the beginning, so you can create bread crumbs accordingly.
    boolean
    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

    addEventHandler, branchCollapsedEvent, branchExpandedEvent, buildEventDispatchChain, childrenModificationEvent, expandedItemCountChangeEvent, expandedProperty, getChildren, getGraphic, getParent, getValue, graphicChangedEvent, graphicProperty, isExpanded, isLeaf, leafProperty, nextSibling, nextSibling, parentProperty, previousSibling, previousSibling, removeEventHandler, setExpanded, setGraphic, setValue, toString, treeNotificationEvent, valueChangedEvent, valueProperty

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

    • first

      protected boolean first
    • last

      protected boolean last
  • Constructor Details

    • BreadCrumbItem

      public BreadCrumbItem(@Nullable T value)
      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

      protected String getStringValue()