|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A simple utility class to handle user interaction
Method Summary | |
boolean |
confirm(java.lang.String message)
Presents a confirmation prompt with the given message. |
char |
confirm(java.lang.String message,
java.lang.String values)
Presents a confirmation prompt for values with the given messge. |
char |
confirm(java.lang.String message,
java.lang.String values,
java.lang.String help)
Presents a confirmation prompt for values with the given messge. |
void |
notify(java.lang.String message)
Simply displays a message to the user, no input is returned from the user. |
Method Detail |
public boolean confirm(java.lang.String message)
public char confirm(java.lang.String message, java.lang.String values)
message
- the confirmation prompt to displayvalues
- a list of valid characters to accept
public char confirm(java.lang.String message, java.lang.String values, java.lang.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.
public void notify(java.lang.String message)
message
- the message to display to the user
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |