|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgui.In
public final class In
Method Summary | |
---|---|
static boolean |
alert(java.lang.String messageString)
Present the user with a modal dialog containing a message |
static boolean |
getBoolean(java.lang.String messageString)
Present the user with a modal dialog, prompting the user for a yes or no response. |
static java.lang.Object |
getChoice(java.lang.Object[] options,
java.lang.String message,
java.lang.String title)
Present the user with a modal dialog that |
static void |
getChoiceTest()
|
static java.lang.Class |
getClassFileUser()
|
static java.lang.Class |
getClassFromUser()
|
static java.awt.Color |
getColor()
Present the user with a modal Dialog prompting for a color. |
static java.util.Date |
getDate()
|
static double |
getDouble(java.lang.Object o)
|
static float |
getFloat(java.lang.Object o)
Prompt the user for a floating point number |
static float |
getFloat(java.lang.String prompt,
float lo,
float hi)
Prompt the user for an float that is <= the lo value and >= the high value. |
static int |
getInt(java.lang.Object o)
Prompt the user with a modal dialog for an int. |
static int |
getInt(java.lang.String prompt,
int lo,
int hi)
Prompt the user for an int that is <= the lo value and >= the high value. |
static java.lang.String |
getLawyerType()
|
static java.lang.String[] |
getLawyerTypes()
|
static java.lang.String[] |
getLawyerTypesRefNum()
|
static java.lang.String[] |
getMonths()
|
static java.lang.String |
getPassword(java.lang.String message)
Prompt the user for a password. |
static java.awt.Rectangle |
getRectangle(java.lang.String s)
|
static java.lang.String |
getState()
return a two-letter state abbreviation for the USA. |
static java.lang.String |
getState2()
return a two-letter state abbreviation for the USA. |
static int |
getStateNum(java.lang.String state)
|
static java.lang.String[] |
getStates()
|
static java.lang.String[] |
getStates2()
|
static java.lang.String |
getString(java.lang.Object o)
Prompt the user for a string. |
static java.net.URL |
getUrl(java.lang.String prompt)
|
static void |
main(java.lang.String[] args)
|
static boolean |
message(java.lang.Exception e)
Use a modal dialog to display an exception, with an error icon. |
static boolean |
message(java.lang.Object messageString)
Present the user with a modal dialog containing a message |
static void |
rangeTest()
|
static void |
testAtomicInput()
|
static void |
testGetColor()
|
static void |
testGetString()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void testAtomicInput()
public static java.lang.String getString(java.lang.Object o)
o
- prompt for the user
public static java.lang.String getPassword(java.lang.String message)
public static boolean message(java.lang.Exception e)
e
- the exceptionpublic static void testGetColor()
public static java.awt.Color getColor()
public static boolean message(java.lang.Object messageString)
public static boolean alert(java.lang.String messageString)
public static void getChoiceTest()
public static java.lang.Object getChoice(java.lang.Object[] options, java.lang.String message, java.lang.String title)
options
- an array of options to
select frommessage
- the message to the usertitle
- the title of the dialog
public static boolean getBoolean(java.lang.String messageString)
messageString
- The prompt
public static float getFloat(java.lang.Object o)
o
- prompt for the float string
public static float getFloat(java.lang.String prompt, float lo, float hi)
lo
- inclusive lower bound on inputhi
- inclusive upper bound on input.
public static void rangeTest()
public static int getInt(java.lang.String prompt, int lo, int hi)
lo
- inclusive lower bound on inputhi
- inclusive upper bound on input.
public static int getInt(java.lang.Object o)
public static void testGetString()
public static java.lang.Class getClassFromUser()
public static java.lang.Class getClassFileUser()
public static java.awt.Rectangle getRectangle(java.lang.String s)
public static void main(java.lang.String[] args)
public static java.lang.String[] getMonths()
public static java.util.Date getDate()
public static java.lang.String getState()
public static int getStateNum(java.lang.String state)
public static java.lang.String[] getStates()
public static java.net.URL getUrl(java.lang.String prompt)
public static double getDouble(java.lang.Object o)
public static java.lang.String[] getStates2()
public static java.lang.String[] getLawyerTypes()
public static java.lang.String[] getLawyerTypesRefNum()
public static java.lang.String getLawyerType()
public static java.lang.String getState2()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |