Class DirTreeNode

java.lang.Object
javax.swing.tree.DefaultMutableTreeNode
ca.corbett.extras.dirtree.DirTreeNode
All Implemented Interfaces:
Serializable, Cloneable, MutableTreeNode, TreeNode

public final class DirTreeNode extends DefaultMutableTreeNode
Represents a single directory within our DirTree.
Since:
2017-11-09
Author:
scorbo2
See Also:
  • Constructor Details

    • DirTreeNode

      public DirTreeNode(File dir)
  • Method Details

    • isLeaf

      public boolean isLeaf()
      Specified by:
      isLeaf in interface TreeNode
      Overrides:
      isLeaf in class DefaultMutableTreeNode
    • getDir

      public File getDir()
    • loadChildren

      public void loadChildren()
    • hasChildren

      public boolean hasChildren()