Class ShowMessageDialog
- java.lang.Object
-
- com.zerog.ia.auto.project.ProjectObject
-
- com.zerog.ia.auto.project.InstallableObject
-
- com.zerog.ia.auto.project.actions.Action
-
- com.zerog.ia.auto.project.actions.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 Summary
Constructors Constructor Description ShowMessageDialog()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DialogAlertLevelgetAlertLevel()The type of alert the dialog should have.DialogButtonActiongetButton0Action()The action for Button 0.java.lang.StringgetButton0Label()The label for Button 0.DialogButtonActiongetButton1Action()The action for Button 1.java.lang.StringgetButton1Label()The label for Button 1.DialogButtonActiongetButton2Action()The action for Button 2.java.lang.StringgetButton2Label()The label for Button 2.DialogButtonsgetButtonsToDisplay()The set of buttons that should be displayed.java.lang.StringgetLabel()The label for the dialog.java.lang.StringgetNarrative()The narrative for the dialog.java.lang.StringgetResultsVariable()The variable where to store the dialog's result.java.lang.StringgetTitle()The title for the dialog.booleanisCancelAndExitOnEscOrClose()voidsetAlertLevel(DialogAlertLevel alertLevel)The type of alert the dialog should have.voidsetButton0Action(DialogButtonAction action)The action for Button 0.voidsetButton0Label(java.lang.String label)The label for Button 0.voidsetButton1Action(DialogButtonAction action)The action for Button 1.voidsetButton1Label(java.lang.String label)The label for Button 1.voidsetButton2Action(DialogButtonAction action)The action for Button 2.voidsetButton2Label(java.lang.String label)The label for Button 2.voidsetButtonsToDisplay(DialogButtons buttonsToDisplay)The set of buttons that should be displayed.voidsetCancelAndExitOnEscOrClose(boolean cancelAndExitOnEscOrClose)Setting TRUE makes to invoke CancelAndExit action upon ESC or Close events of message dialog, otherwise with FALSE default behavior continues.voidsetLabel(java.lang.String label)voidsetNarrative(java.lang.String narrative)The narrative for the dialog.voidsetResultsVariable(java.lang.String resultsVariable)The variable where to store the dialog's result.voidsetTitle(java.lang.String title)The title for the dialog.-
Methods inherited from class com.zerog.ia.auto.project.InstallableObject
getBelongsToUninstallPhase, getRollbackEnabledCancel, getRollbackEnabledError, getRuleExpression, getRules, getRulesLogicalOperation, getTagsInInstallPiece, setBelongsToUninstallPhase, setRollbackEnabledCancel, setRollbackEnabledError, setRuleExpression, setRulesLogicalOperation, setTagsInInstallPiece
-
Methods inherited from class com.zerog.ia.auto.project.ProjectObject
equals, getReferenceID, hashCode, setReferenceID
-
-
-
-
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.
-
-