Class ScriptTree

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible, Scrollable

public class ScriptTree extends JTree
Factor tree. Add drag and drop support.
Version:
$Revision$ Last update : $Date$ By : $Author$
Author:
chatellier
See Also:
  • Constructor Details

    • ScriptTree

      public ScriptTree(ScriptUI scriptUI)
      Constructor (add drag and drop).
      Parameters:
      scriptUI - script ui
  • Method Details

    • getSelectedFiles

      public List<File> getSelectedFiles()
      Return selected files (only files not directories).
      Returns:
      selected files
    • getSelectedFile

      public File getSelectedFile()
      Get selected file.
      Returns:
      selected file
    • getSelectedDirectory

      public File getSelectedDirectory()
      Return selected directory.
      Returns:
      selected directory