public interface IUserPrompt
| Modifier and Type | Method and Description |
|---|---|
void |
initialize(Object uiParent,
String title)
Initialize the prompt.
|
boolean |
promptOKCancel(String message)
Prompt the user to decide between "OK" and "Cancel".
|
boolean |
promptYesNoCancel(String message)
Prompt the user to decide between "Yes", "No", and "Cancel".
|
void initialize(Object uiParent, String title)
uiParent - The UI parent (used in GUI mode only; can be null otherwise)title - The title of the dialog (used in GUI mode only; can be null)boolean promptYesNoCancel(String message) throws OkapiUserCanceledException
message - The text message to displayOkapiUserCanceledException - If user cancelsboolean promptOKCancel(String message) throws OkapiUserCanceledException
message - The text message to displayOkapiUserCanceledException - If user cancelsCopyright © 2022. All rights reserved.