Class FileCommanderDirectoryPanel

    • Constructor Detail

      • FileCommanderDirectoryPanel

        public FileCommanderDirectoryPanel()
    • Method Detail

      • initialize

        protected void initialize()
        Initializes the members.
        Overrides:
        initialize in class BasePanel
      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class BasePanel
      • updateChooser

        protected void updateChooser()
        Updates the chooser (using currently selected one in combobox) and dependent widgets.
      • updateDirectoryLister

        protected void updateDirectoryLister()
        Updates the directory lister.
      • setOwner

        public void setOwner​(FileCommanderPanel value)
        Sets the owner.
        Parameters:
        value - the owner
      • getOwner

        public FileCommanderPanel getOwner()
        Returns the owner.
        Returns:
        the owner, null if none set
      • setActive

        public void setActive()
        Sets this panel active in the FileCommander.
      • view

        public void view()
        Views the selected file.
      • view

        public void view​(FileObject file)
        Views the file.
        Parameters:
        file - the file to view, ignored if null
      • reload

        public void reload()
        Reloads the files.
      • setDirectory

        public void setDirectory​(String dir)
        Sets the current directory.
        Parameters:
        dir - the directory to use
      • getDirectory

        public String getDirectory()
        Returns the current directory.
        Returns:
        the current directory
      • setFilter

        public void setFilter()
        Prompts the user to enter a regular expression as filter.
      • getFilePanel

        public FilePanel getFilePanel()
        Returns the panel with the files.
        Returns:
        the panel
      • getDirectoryLister

        public DirectoryLister getDirectoryLister()
        Returns the directory lister.
        Returns:
        the lister
      • getFileOperations

        public FileOperations getFileOperations()
        Returns the file operations.
        Returns:
        the operations
      • addChooserChangeListeners

        public void addChooserChangeListeners​(ChangeListener l)
        Adds the listener.
        Parameters:
        l - the listener to add
      • removeChooserChangeListeners

        public void removeChooserChangeListeners​(ChangeListener l)
        Removes the listener.
        Parameters:
        l - the listener to remove
      • notifyChooserChangeListeners

        protected void notifyChooserChangeListeners()
        Notifies all the listeners that the chooser has changed.