|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object edu.southern.computing.oopj.GraphicalIO
public class GraphicalIO
Constructor Summary | |
---|---|
GraphicalIO()
|
Method Summary | |
---|---|
static double |
nextDouble(java.lang.String prompt)
Displays a dialog box and prompts the user with a given string. |
static int |
nextInt(java.lang.String prompt)
Displays a dialog box and prompts the user with a given string. |
static java.lang.String |
nextString(java.lang.String prompt)
Displays a dialog box and prompts the user with a given string. |
static void |
showMessage(java.lang.String message)
Displays a dialog box with a given message to the user. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GraphicalIO()
Method Detail |
---|
public static int nextInt(java.lang.String prompt)
prompt
- The message to the user provided by the client code.
public static double nextDouble(java.lang.String prompt)
prompt
- The message to the user provided by the client code.
public static java.lang.String nextString(java.lang.String prompt)
prompt
- The message to the user provided by the client code.
public static void showMessage(java.lang.String message)
message
- The message to the user provided by the client code.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |