public interface Dialog
Modifier and Type | Method and Description |
---|---|
boolean |
confirm(String message)
Presents a confirmation prompt with the given message.
|
char |
confirm(String message,
String values)
Presents a confirmation prompt for values with the given message.
|
char |
confirm(String message,
String values,
String help)
Presents a confirmation prompt for values with the given messge.
|
void |
notify(String message)
Simply displays a message to the user, no input is returned from the
user.
|
boolean confirm(String message)
message
- the confirmation prompt message to displaychar confirm(String message, String values)
message
- the confirmation prompt to displayvalues
- a list of valid characters to acceptchar confirm(String message, String values, String help)
message
- the confirmation prompt to displayvalues
- a list of valid characters to accepthelp
- a simple help message that can be associated with the message
to give additional details about the prompt.void notify(String message)
message
- the message to display to the userCopyright © 2015. All rights reserved.