Class AbstractFileImportDialog<T>

    • Constructor Detail

      • AbstractFileImportDialog

        public AbstractFileImportDialog​(Dialog owner)
        Creates a modeless dialog without a title with the specified Dialog as its owner.
        Parameters:
        owner - the owning dialog
      • AbstractFileImportDialog

        public AbstractFileImportDialog​(Dialog owner,
                                        Dialog.ModalityType modality)
        Creates a dialog with the specified owner Dialog and modality.
        Parameters:
        owner - the owning dialog
        modality - the type of modality
      • AbstractFileImportDialog

        public AbstractFileImportDialog​(Frame owner)
        Creates a modeless dialog without a title with the specified Frame as its owner.
        Parameters:
        owner - the owning frame
      • AbstractFileImportDialog

        public AbstractFileImportDialog​(Frame owner,
                                        boolean modal)
        Creates a dialog with the specified owner Frame, modality and an empty title.
        Parameters:
        owner - the owning frame
        modal - whether the dialog is modal or not
    • Method Detail

      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class ApprovalDialog
      • finishInit

        protected void finishInit()
        Finishes the initialization
        Overrides:
        finishInit in class BaseDialog
      • getDefaultTitle

        protected String getDefaultTitle()
        Returns the default title for the dialog.
      • updateFileChooser

        protected void updateFileChooser()
        Updates the file chooser's extension file filters.
      • setImport

        public void setImport​(T value)
        Sets the import format.
        Parameters:
        value - the import format
      • getImport

        public T getImport()
        Returns the import format.
        Returns:
        the import format
      • setFile

        public void setFile​(File value)
        Sets the file to read from.
        Parameters:
        value - the file
      • getFile

        public File getFile()
        Returns the current file to read from.
        Returns:
        the file