Class FileListPanel

    • Constructor Detail

      • FileListPanel

        public FileListPanel()
        Constructor for the FilePanel object.
      • FileListPanel

        public FileListPanel​(String title)
      • FileListPanel

        public FileListPanel​(String title,
                             String filetype)
      • FileListPanel

        public FileListPanel​(ChangeListener l,
                             String title)
        Constructor for the FilePanel object.
        Parameters:
        l - The changelistener for this panel
        title - The title of this panel
    • Method Detail

      • addChangeListener

        public void addChangeListener​(ChangeListener l)
      • enableFile

        public void enableFile​(boolean enable)
        If the gui needs to enable/disable the FilePanel, call the method.
        Parameters:
        enable - Flag whether FilePanel should be enabled
      • addFilename

        public void addFilename​(String f)
        Add a single file to the table
        Parameters:
        f - The name of the file to be added
      • clearFiles

        public void clearFiles()
        clear the files from the table
      • setFiles

        public void setFiles​(String[] files)
      • getFiles

        public String[] getFiles()
      • deleteFile

        protected void deleteFile()
      • initializeTableModel

        protected void initializeTableModel()