Inherited Method Summary |
IOConsole | getConsole()
Returns the console associated with this program.
|
IODialog | getDialog()
Returns the dialog used for user interaction.
|
BufferedReader | getReader()
Returns a BufferedReader whose input comes from the console.
|
String | getTitle()
Gets the title of this program.
|
PrintWriter | getWriter()
Returns a PrintWriter whose output is directed to the console.
|
void | pause(double milliseconds)
Delays the calling thread for the specified time.
|
void | print(String value)
Displays the argument value, allowing for the possibility of more
output in the same dialog.
|
void | println()
Completes the output line and displays the dialog.
|
void | println(String value)
Adds the value to the current output line and then displays the dialog.
|
boolean | readBoolean()
Puts up a dialog box asking the user for a true /false value.
|
boolean | readBoolean(String prompt)
Puts up a dialog box asking the user for a true /false value.
|
boolean | readBoolean(String prompt, trueLabel, falseLabel)
Puts up a dialog box asking the user for a boolean value chosen from
buttons with the specified labels.
|
double | readDouble()
Puts up a dialog box asking the user for a double-precision number.
|
double | readDouble(String prompt)
Puts up a dialog box asking the user for a double-precision number.
|
int | readInt()
Puts up a dialog box asking the user for an integer.
|
int | readInt(String prompt)
Puts up a dialog box asking the user for an integer.
|
String | readLine()
Puts up a dialog box asking the user for a line of text.
|
String | readLine(String prompt)
Puts up a dialog box asking the user for a line of text.
|
void | setTitle(String title)
Sets the title of this program.
|