Class FileNamePanel

    • Constructor Detail

      • FileNamePanel

        public FileNamePanel​(ErrorHandler errorHandler)
    • Method Detail

      • setDescription

        public void setDescription​(String description)
        Deprecated.
      • setFileMustExist

        public void setFileMustExist​(boolean fileMustExist)
      • getSelectedFile

        public File getSelectedFile()
        Side effect: adds file to the combobox list of recently selected files.
      • isInputValid

        public boolean isInputValid()
      • setSelectedFile

        public void setSelectedFile​(File file)
        Parameters:
        file - the initial value for the GML file field, or null to clear the field
      • getValidationError

        public String getValidationError()
      • addBrowseListener

        public void addBrowseListener​(ActionListener l)
        Notify the ActionListener whenever the user picks a file using the Browse button
      • getInitialFile

        protected File getInitialFile()
      • setUpperDescription

        public void setUpperDescription​(String description)
      • setLeftDescription

        public void setLeftDescription​(String description)
      • setFileFilter

        public void setFileFilter​(FileFilter fileFilter)