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 DialogAlertLevel
getAlertLevel()
The type of alert the dialog should have.DialogButtonAction
getButton0Action()
The action for Button 0.java.lang.String
getButton0Label()
The label for Button 0.DialogButtonAction
getButton1Action()
The action for Button 1.java.lang.String
getButton1Label()
The label for Button 1.DialogButtonAction
getButton2Action()
The action for Button 2.java.lang.String
getButton2Label()
The label for Button 2.DialogButtons
getButtonsToDisplay()
The set of buttons that should be displayed.java.lang.String
getLabel()
The label for the dialog.java.lang.String
getNarrative()
The narrative for the dialog.java.lang.String
getResultsVariable()
The variable where to store the dialog's result.java.lang.String
getTitle()
The title for the dialog.boolean
isCancelAndExitOnEscOrClose()
void
setAlertLevel(DialogAlertLevel alertLevel)
The type of alert the dialog should have.void
setButton0Action(DialogButtonAction action)
The action for Button 0.void
setButton0Label(java.lang.String label)
The label for Button 0.void
setButton1Action(DialogButtonAction action)
The action for Button 1.void
setButton1Label(java.lang.String label)
The label for Button 1.void
setButton2Action(DialogButtonAction action)
The action for Button 2.void
setButton2Label(java.lang.String label)
The label for Button 2.void
setButtonsToDisplay(DialogButtons buttonsToDisplay)
The set of buttons that should be displayed.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.void
setLabel(java.lang.String label)
void
setNarrative(java.lang.String narrative)
The narrative for the dialog.void
setResultsVariable(java.lang.String resultsVariable)
The variable where to store the dialog's result.void
setTitle(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.
-
-