Class AbstractFileExportDialog<T>

    • Constructor Detail

      • AbstractFileExportDialog

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

        public AbstractFileExportDialog​(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
      • AbstractFileExportDialog

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

        public AbstractFileExportDialog​(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.
      • setExport

        public void setExport​(T value)
        Sets the export format.
        Parameters:
        value - the export format
      • getExport

        public T getExport()
        Returns the export format.
        Returns:
        the export format
      • setFile

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

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