Class TimeseriesImportDatabaseDialog

    • Field Detail

      • APPROVE_OPTION

        public static final int APPROVE_OPTION
        the approve option.
        See Also:
        Constant Field Values
      • CANCEL_OPTION

        public static final int CANCEL_OPTION
        the cancel option.
        See Also:
        Constant Field Values
      • QUERY_METADATA_KEYVALUE

        public static final String QUERY_METADATA_KEYVALUE
        key for the meta-data query (key/value).
        See Also:
        Constant Field Values
      • m_PaneWizard

        protected WizardPane m_PaneWizard
        the wizard.
      • m_PageIDs

        protected ListPage m_PageIDs
        the ID list page.
      • m_Option

        protected int m_Option
        the option selected by the user (CANCEL_OPTION, APPROVE_OPTION).
    • Constructor Detail

      • TimeseriesImportDatabaseDialog

        public TimeseriesImportDatabaseDialog()
        Creates a modeless dialog without a title and without a specified Frame owner.
      • TimeseriesImportDatabaseDialog

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

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

        public TimeseriesImportDatabaseDialog​(Dialog owner,
                                              String title)
        Creates a modeless dialog with the specified title and with the specified owner dialog.
        Parameters:
        owner - the owning dialog
        title - the title of the dialog
      • TimeseriesImportDatabaseDialog

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

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

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

        public TimeseriesImportDatabaseDialog​(Frame owner,
                                              String title)
        Creates a modeless dialog with the specified title and with the specified owner frame.
        Parameters:
        owner - the owning frame
        title - the title of the dialog
      • TimeseriesImportDatabaseDialog

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

      • initialize

        protected void initialize()
        For initializing members.
        Overrides:
        initialize in class BaseDialog
      • initGUI

        protected void initGUI()
        Initializes the widgets.
        Overrides:
        initGUI in class BaseDialog
      • getOption

        public int getOption()
        Returns whether the user approved or canceled the dialog.
        Returns:
        the result
        See Also:
        APPROVE_OPTION, CANCEL_OPTION
      • beforeShow

        protected void beforeShow()
        Hook method just before the dialog is made visible.
        Overrides:
        beforeShow in class BaseDialog
      • getWizard

        public WizardPane getWizard()
        Returns the wizard pane.
        Returns:
        the wizard
      • getConnectionPage

        public DatabaseConnectionPage getConnectionPage()
        Returns the wizard page for the connection data.
        Returns:
        the page
      • getQueriesPage

        public ParameterPanelPage getQueriesPage()
        Returns the wizard page for the queries.
        Returns:
        the page
      • getIDsPage

        public ListPage getIDsPage()
        Returns the wizard page for the IDs.
        Returns:
        the page
      • getProperties

        public Properties getProperties​(boolean usePrefix)
        Returns the properties from all the pages.
        Parameters:
        usePrefix - whether to use the page name as prefix
        Returns:
        the combined properties