Class FileTree

All Implemented Interfaces:
Animation, Editable, StyleListener, Iterable<Component>

public class FileTree extends Tree
Simple class showing off the filesystem as a tree component
  • Constructor Details

    • FileTree

      public FileTree()
      Default constructor
    • FileTree

      public FileTree(FileTreeModel model)
      Constructor with a model
  • Method Details

    • childToDisplayLabel

      protected String childToDisplayLabel(Object child)
      Description copied from class: Tree

      Converts a tree child to a label, this method can be overriden for simple rendering effects

      Returns

      a string representing the given tree node

      Overrides:
      childToDisplayLabel in class Tree