Public Member Functions | |
boolean | confirm (String message) |
char | confirm (String message, String values) |
char | confirm (String message, String values, String help) |
void | notify (String message) |
A simple utility class to handle user interaction
boolean org.exolab.castor.builder.util.Dialog.confirm | ( | String | message | ) |
Presents a confirmation prompt with the given message.
message,the | confirmation prompt message to display |
Implemented in org.exolab.castor.builder.util.ConsoleDialog.
char org.exolab.castor.builder.util.Dialog.confirm | ( | String | message, | |
String | values | |||
) |
Presents a confirmation prompt for values with the given messge.
message | the confirmation prompt to display | |
values | a list of valid characters to accept |
Implemented in org.exolab.castor.builder.util.ConsoleDialog.
char org.exolab.castor.builder.util.Dialog.confirm | ( | String | message, | |
String | values, | |||
String | help | |||
) |
Presents a confirmation prompt for values with the given messge.
message | the confirmation prompt to display | |
values | a list of valid characters to accept | |
help | a simple help message that can be associated with the message to give additional details about the prompt. |
Implemented in org.exolab.castor.builder.util.ConsoleDialog.
void org.exolab.castor.builder.util.Dialog.notify | ( | String | message | ) |
Simply displays a message to the user, no input is returned from the user.
message | the message to display to the user |
Implemented in org.exolab.castor.builder.util.ConsoleDialog.
Referenced by org.exolab.castor.builder.SourceFactory.createSourceCode().