java.lang.Object
com.github.weisj.darklaf.components.filetree.FileNode
All Implemented Interfaces:
Comparable<FileNode>

@Deprecated public class FileNode extends Object implements Comparable<FileNode>
Deprecated.
FileTree will be moved to https://github.com/weisJ/swing-dsl
  • Constructor Details

    • FileNode

      public FileNode(File file, Path path)
      Deprecated.
  • Method Details

    • invalidate

      public void invalidate()
      Deprecated.
    • validateEmptyFlag

      protected boolean validateEmptyFlag(boolean showHiddenFiles)
      Deprecated.
    • fromPath

      public static FileNode fromPath(Path path)
      Deprecated.
    • fromFile

      public static FileNode fromFile(File file)
      Deprecated.
    • isDirectory

      public boolean isDirectory()
      Deprecated.
    • exists

      public boolean exists()
      Deprecated.
    • notExists

      public boolean notExists()
      Deprecated.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • compareTo

      public int compareTo(FileNode o)
      Deprecated.
      Specified by:
      compareTo in interface Comparable<FileNode>
    • isHidden

      public boolean isHidden()
      Deprecated.
    • isEmpty

      public boolean isEmpty(boolean showHiddenFiles)
      Deprecated.
    • isReadable

      public boolean isReadable()
      Deprecated.
    • list

      public Stream<FileNode> list(FileTreeModel model) throws IOException
      Deprecated.
      Throws:
      IOException
    • getSystemIcon

      public Icon getSystemIcon(FileSystemView fsv)
      Deprecated.
    • getSystemDisplayName

      public String getSystemDisplayName(FileSystemView fsv)
      Deprecated.
    • getPath

      public Path getPath()
      Deprecated.
    • getFile

      public File getFile()
      Deprecated.