|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface InputMedium
Allows an InputHandler to provide a call-back to an
InputRequest. Implementation are essentially the Visitor in
the Visitor Pattern.
| Method Summary | |
|---|---|
void |
confirm(String message,
Boolean defaultValue)
Prompt for a yes/no confirmation. |
void |
file(String message,
String defaultValue,
FileSelectionOptions options)
|
void |
message(String message)
Display a message. |
void |
password(String prompt)
A prompt for a password. |
void |
prompt(String prompt,
String defaultValue)
A simple prompt for a value. |
| Method Detail |
|---|
void prompt(String prompt,
String defaultValue)
prompt - defaultValue - void password(String prompt)
prompt -
void confirm(String message,
Boolean defaultValue)
message - defaultValue - True for yes, False for no.void message(String message)
message -
void file(String message,
String defaultValue,
FileSelectionOptions options)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||