Interface AlertHandle
- All Superinterfaces:
DialogHandle, UiContainer
A
JOptionPane-built modal alert. Carries an icon type for info, warning, error or
question, and exposes OK / Cancel / Yes / No clicks.
Reach this handle via Session.alert().
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumThe icon shown by the alert, matchingJOptionPane's message-type constants. -
Method Summary
Methods inherited from interface DialogHandle
clickWindowClose, getTitleMethods inherited from interface UiContainer
dumpAsString, saveScreenshot
-
Method Details
-
getMessageText
The alert's message text. -
getIconType
The configured icon type. -
clickOk
void clickOk()Click a button labeled or named "OK". -
clickCancel
void clickCancel()Click a button labeled or named "Cancel". -
clickYes
void clickYes()Click a button labeled or named "Yes". -
clickNo
void clickNo()Click a button labeled or named "No".
-