Class DirectoryTreeItem

java.lang.Object
javafx.scene.control.TreeItem<String>
net.raumzeitfalle.fx.dirchooser.DirectoryTreeItem
All Implemented Interfaces:
javafx.event.EventTarget

public class DirectoryTreeItem extends javafx.scene.control.TreeItem<String>
  • 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>
  • Constructor Summary

    Constructors
    Constructor
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     
     
    boolean
     
    boolean
     
    void
    setSize(int size)
     
    int
     

    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
  • Constructor Details

    • DirectoryTreeItem

      public DirectoryTreeItem(String root)
    • DirectoryTreeItem

      public DirectoryTreeItem(Path file)
  • Method Details

    • getFullPath

      public String getFullPath()
    • isDirectory

      public boolean isDirectory()
    • configureIcon

      public void configureIcon()
    • isDrive

      public boolean isDrive()
    • size

      public int size()
    • setSize

      public void setSize(int size)