Class ShowMessageDialog

  • All Implemented Interfaces:
    DBHostable, GeneralAction, JEEHostable, OSHostable, Referenceable

    public final class ShowMessageDialog
    extends Action
    implements GeneralAction
    Creates a modal dialog that requests end-user input. The message dialog box appears over the currently displayed panel. You can use this action to force the end user to return to the previous panel, exit the installer, or input information. When controlled by rules, the message dialog can also serve as a data verification tool.
    • Constructor Detail

      • ShowMessageDialog

        public ShowMessageDialog()
    • Method Detail

      • setTitle

        public void setTitle​(java.lang.String title)
        The title for the dialog.
      • getTitle

        public java.lang.String getTitle()
        The title for the dialog.
      • setLabel

        public void setLabel​(java.lang.String label)
      • getLabel

        public java.lang.String getLabel()
        The label for the dialog.
      • setNarrative

        public void setNarrative​(java.lang.String narrative)
        The narrative for the dialog.
      • getNarrative

        public java.lang.String getNarrative()
        The narrative for the dialog.
      • setButtonsToDisplay

        public void setButtonsToDisplay​(DialogButtons buttonsToDisplay)
        The set of buttons that should be displayed.
      • getButtonsToDisplay

        public DialogButtons getButtonsToDisplay()
        The set of buttons that should be displayed.
      • setButton0Label

        public void setButton0Label​(java.lang.String label)
        The label for Button 0.
      • getButton0Label

        public java.lang.String getButton0Label()
        The label for Button 0.
      • setButton0Action

        public void setButton0Action​(DialogButtonAction action)
        The action for Button 0.
      • getButton0Action

        public DialogButtonAction getButton0Action()
        The action for Button 0.
      • setButton1Label

        public void setButton1Label​(java.lang.String label)
        The label for Button 1.
      • getButton1Label

        public java.lang.String getButton1Label()
        The label for Button 1.
      • setButton1Action

        public void setButton1Action​(DialogButtonAction action)
        The action for Button 1.
      • getButton1Action

        public DialogButtonAction getButton1Action()
        The action for Button 1.
      • setButton2Label

        public void setButton2Label​(java.lang.String label)
        The label for Button 2.
      • getButton2Label

        public java.lang.String getButton2Label()
        The label for Button 2.
      • setButton2Action

        public void setButton2Action​(DialogButtonAction action)
        The action for Button 2.
      • getButton2Action

        public DialogButtonAction getButton2Action()
        The action for Button 2.
      • setResultsVariable

        public void setResultsVariable​(java.lang.String resultsVariable)
        The variable where to store the dialog's result.
      • getResultsVariable

        public java.lang.String getResultsVariable()
        The variable where to store the dialog's result.
      • setAlertLevel

        public void setAlertLevel​(DialogAlertLevel alertLevel)
        The type of alert the dialog should have.
      • getAlertLevel

        public DialogAlertLevel getAlertLevel()
        The type of alert the dialog should have.
      • isCancelAndExitOnEscOrClose

        public boolean isCancelAndExitOnEscOrClose()
      • setCancelAndExitOnEscOrClose

        public void setCancelAndExitOnEscOrClose​(boolean cancelAndExitOnEscOrClose)
        Setting TRUE makes to invoke CancelAndExit action upon ESC or Close events of message dialog, otherwise with FALSE default behavior continues.