Class SQLStatementDialog

    • Field Detail

      • m_PanelSQL

        protected SQLStatementPanel m_PanelSQL
        the panel with the SQL statement editor.
    • Constructor Detail

      • SQLStatementDialog

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

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

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

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

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

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

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

        public SQLStatementDialog​(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

      • initGUI

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

        public void setStatement​(SQLStatement value)
        Sets the SQL statement.
        Parameters:
        value - the statement to use
      • getStatement

        public SQLStatement getStatement()
        Returns the current SQL statement.
        Returns:
        the current statement
      • afterHide

        protected void afterHide()
        Hook method just after the dialog was hidden.
        Overrides:
        afterHide in class BaseDialog