|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.neu.ccs.gui.SimpleDialog
Provides only static convenience methods for simple modal dialog box input.
| Field Summary |
| Fields inherited from interface edu.neu.ccs.util.JPTConstants |
ABOVE, ALIGNMENT, BELOW, BOTTOM_LEFT, BOTTOM_RIGHT, DEFAULT, FONT, INPUT_PROPERTIES, MANDATORY, OPTIONAL, ORIENTATION, TOP_LEFT, TOP_RIGHT, VALUE |
| Fields inherited from interface javax.swing.SwingConstants |
BOTTOM, CENTER, EAST, HORIZONTAL, LEADING, LEFT, NEXT, NORTH, NORTH_EAST, NORTH_WEST, PREVIOUS, RIGHT, SOUTH, SOUTH_EAST, SOUTH_WEST, TOP, TRAILING, VERTICAL, WEST |
| Constructor Summary | |
SimpleDialog()
|
|
| Method Summary | |
static boolean |
demandBoolean(String inputPrompt,
String dialogTitle)
Returns a boolean using the mandatory model of IO. |
static boolean |
demandBoolean(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns a boolean using the mandatory model of IO,
with the given default value. |
static boolean |
demandBoolean(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns a boolean using the mandatory model of IO,
with the given default value and input filter. |
static byte |
demandByte(String inputPrompt,
String dialogTitle)
Returns a byte using the mandatory model of IO. |
static byte |
demandByte(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns a byte using the mandatory model of IO,
with the given default value. |
static byte |
demandByte(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns a byte using the mandatory model of IO,
with the given default value and input filter. |
static char |
demandChar(String inputPrompt,
String dialogTitle)
Returns a char using the mandatory model of IO. |
static char |
demandChar(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns a char using the mandatory model of IO,
with the given default value. |
static char |
demandChar(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns a char using the mandatory model of IO,
with the given default value and input filter. |
static double |
demandDouble(String inputPrompt,
String dialogTitle)
Returns a double using the mandatory model of IO. |
static double |
demandDouble(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns a double using the mandatory model of IO,
with the given default value. |
static double |
demandDouble(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns a double using the mandatory model of IO,
with the given default value and input filter. |
static float |
demandFloat(String inputPrompt,
String dialogTitle)
Returns a float using the mandatory model of IO. |
static float |
demandFloat(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns a float using the mandatory model of IO,
with the given default value. |
static float |
demandFloat(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns a float using the mandatory model of IO,
with the given default value and input filter. |
static int |
demandInt(String inputPrompt,
String dialogTitle)
Returns an int using the mandatory model of IO. |
static int |
demandInt(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns an int using the mandatory model of IO,
with the given default value. |
static int |
demandInt(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns an int using the mandatory model of IO,
with the given default value and input filter. |
static long |
demandLong(String inputPrompt,
String dialogTitle)
Returns a long using the mandatory model of IO. |
static long |
demandLong(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns a long using the mandatory model of IO,
with the given default value. |
static long |
demandLong(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns a long using the mandatory model of IO,
with the given default value and input filter. |
static Stringable |
demandObject(TypedView viewObject)
Returns the object produced by the given input view using mandatory dialog box input. |
static short |
demandShort(String inputPrompt,
String dialogTitle)
Returns a short using the mandatory model of IO. |
static short |
demandShort(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns a short using the mandatory model of IO,
with the given default value. |
static short |
demandShort(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns a short using the mandatory model of IO,
with the given default value and input filter. |
static String |
demandString(String inputPrompt,
String dialogTitle)
Returns a String using the mandatory model of IO. |
static String |
demandString(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns a String using the mandatory model of IO,
with the given default value. |
static String |
demandString(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns a String using the mandatory model of IO,
with the given default value and input filter. |
static boolean |
requestBoolean(String inputPrompt,
String dialogTitle)
Returns a boolean or throws an exception
if the user cancels the operation. |
static boolean |
requestBoolean(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns a boolean or throws an exception
if the user cancels the operation,
with the given default value. |
static boolean |
requestBoolean(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns a boolean or throws an exception
if the user cancels the operation,
with the given default value. |
static byte |
requestByte(String inputPrompt,
String dialogTitle)
Returns a byte or throws an exception
if the user cancels the operation. |
static byte |
requestByte(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns a byte or throws an exception
if the user cancels the operation,
with the given default value. |
static byte |
requestByte(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns a byte or throws an exception
if the user cancels the operation,
with the given default value. |
static char |
requestChar(String inputPrompt,
String dialogTitle)
Returns a char or throws an exception
if the user cancels the operation. |
static char |
requestChar(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns a char or throws an exception
if the user cancels the operation,
with the given default value. |
static char |
requestChar(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns a char or throws an exception
if the user cancels the operation,
with the given default value. |
static double |
requestDouble(String inputPrompt,
String dialogTitle)
Returns a double or throws an exception
if the user cancels the operation. |
static double |
requestDouble(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns a double or throws an exception
if the user cancels the operation,
with the given default value. |
static double |
requestDouble(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns a double or throws an exception
if the user cancels the operation,
with the given default value. |
static float |
requestFloat(String inputPrompt,
String dialogTitle)
Returns a float or throws an exception
if the user cancels the operation. |
static float |
requestFloat(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns a float or throws an exception
if the user cancels the operation,
with the given default value. |
static float |
requestFloat(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns a float or throws an exception
if the user cancels the operation,
with the given default value. |
static int |
requestInt(String inputPrompt,
String dialogTitle)
Returns an int or throws an exception
if the user cancels the operation. |
static int |
requestInt(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns an int or throws an exception
if the user cancels the operation,
with the given default value. |
static int |
requestInt(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns an int or throws an exception
if the user cancels the operation,
with the given default value. |
static long |
requestLong(String inputPrompt,
String dialogTitle)
Returns a long or throws an exception
if the user cancels the operation. |
static long |
requestLong(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns a long or throws an exception
if the user cancels the operation,
with the given default value. |
static long |
requestLong(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns a long or throws an exception
if the user cancels the operation,
with the given default value. |
static Stringable |
requestObject(TypedView viewObject)
Returns the object produced by the given input view using optional dialog box input, or throws an exception if the operation is cancelled. |
static short |
requestShort(String inputPrompt,
String dialogTitle)
Returns a short or throws an exception
if the user cancels the operation. |
static short |
requestShort(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns a short or throws an exception
if the user cancels the operation,
with the given default value. |
static short |
requestShort(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns a short or throws an exception
if the user cancels the operation,
with the given default value. |
static String |
requestString(String inputPrompt,
String dialogTitle)
Returns a String or throws an exception
if the user cancels the operation. |
static String |
requestString(String inputPrompt,
String dialogTitle,
String defaultValue)
Returns a String or throws an exception
if the user cancels the operation,
with the given default value. |
static String |
requestString(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
Returns a String or throws an exception
if the user cancels the operation,
with the given default value. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public SimpleDialog()
| Method Detail |
public static int demandInt(String inputPrompt,
String dialogTitle)
int using the mandatory model of IO.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdemandInt(String, String, String),
demandInt(String, String, String, StringableFilter),
requestInt(String, String),
requestInt(String, String, String),
requestInt(String, String, String, StringableFilter)
public static int demandInt(String inputPrompt,
String dialogTitle,
String defaultValue)
int using the mandatory model of IO,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputdemandInt(String, String),
demandInt(String, String, String, StringableFilter),
requestInt(String, String),
requestInt(String, String, String),
requestInt(String, String, String, StringableFilter)
public static int demandInt(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
int using the mandatory model of IO,
with the given default value and input filter.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be useddemandInt(String, String),
demandInt(String, String, String),
requestInt(String, String),
requestInt(String, String, String),
requestInt(String, String, String, StringableFilter)
public static int requestInt(String inputPrompt,
String dialogTitle)
throws CancelledException
int or throws an exception
if the user cancels the operation.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog box
CancelledException - if the user cancels the input operationrequestInt(String, String, String),
requestInt(String, String, String, StringableFilter),
demandInt(String, String),
demandInt(String, String, String),
demandInt(String, String, String, StringableFilter)
public static int requestInt(String inputPrompt,
String dialogTitle,
String defaultValue)
throws CancelledException
int or throws an exception
if the user cancels the operation,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the input
CancelledException - if the user cancels the input operationrequestInt(String, String),
requestInt(String, String, String, StringableFilter),
demandInt(String, String, String),
demandInt(String, String),
demandInt(String, String, String, StringableFilter)
public static int requestInt(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
throws CancelledException
int or throws an exception
if the user cancels the operation,
with the given default value.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be used
CancelledException - if the user cancels the input operationrequestInt(String, String),
requestInt(String, String, String),
demandInt(String, String, String),
demandInt(String, String),
demandInt(String, String, String, StringableFilter)
public static byte demandByte(String inputPrompt,
String dialogTitle)
byte using the mandatory model of IO.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdemandByte(String, String, String),
demandByte(String, String, String, StringableFilter),
requestByte(String, String),
requestByte(String, String, String),
requestByte(String, String, String, StringableFilter)
public static byte demandByte(String inputPrompt,
String dialogTitle,
String defaultValue)
byte using the mandatory model of IO,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputdemandByte(String, String),
demandByte(String, String, String, StringableFilter),
requestByte(String, String),
requestByte(String, String, String),
requestByte(String, String, String, StringableFilter)
public static byte demandByte(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
byte using the mandatory model of IO,
with the given default value and input filter.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be useddemandByte(String, String),
demandByte(String, String, String),
requestByte(String, String),
requestByte(String, String, String),
requestByte(String, String, String, StringableFilter)
public static byte requestByte(String inputPrompt,
String dialogTitle)
throws CancelledException
byte or throws an exception
if the user cancels the operation.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog box
CancelledException - if the user cancels the input operationrequestByte(String, String, String),
requestByte(String, String, String, StringableFilter),
demandByte(String, String),
demandByte(String, String, String),
demandByte(String, String, String, StringableFilter)
public static byte requestByte(String inputPrompt,
String dialogTitle,
String defaultValue)
throws CancelledException
byte or throws an exception
if the user cancels the operation,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the input
CancelledException - if the user cancels the input operationrequestByte(String, String),
requestByte(String, String, String, StringableFilter),
demandByte(String, String, String),
demandByte(String, String),
demandByte(String, String, String, StringableFilter)
public static byte requestByte(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
throws CancelledException
byte or throws an exception
if the user cancels the operation,
with the given default value.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be used
CancelledException - if the user cancels the input operationrequestByte(String, String),
requestByte(String, String, String),
demandByte(String, String, String),
demandByte(String, String),
demandByte(String, String, String, StringableFilter)
public static short demandShort(String inputPrompt,
String dialogTitle)
short using the mandatory model of IO.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdemandShort(String, String, String),
demandShort(String, String, String, StringableFilter),
requestShort(String, String),
requestShort(String, String, String),
requestShort(String, String, String, StringableFilter)
public static short demandShort(String inputPrompt,
String dialogTitle,
String defaultValue)
short using the mandatory model of IO,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputdemandShort(String, String),
demandShort(String, String, String, StringableFilter),
requestShort(String, String),
requestShort(String, String, String),
requestShort(String, String, String, StringableFilter)
public static short demandShort(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
short using the mandatory model of IO,
with the given default value and input filter.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be useddemandShort(String, String),
demandShort(String, String, String),
requestShort(String, String),
requestShort(String, String, String),
requestShort(String, String, String, StringableFilter)
public static short requestShort(String inputPrompt,
String dialogTitle)
throws CancelledException
short or throws an exception
if the user cancels the operation.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog box
CancelledException - if the user cancels the input operationrequestShort(String, String, String),
requestShort(String, String, String, StringableFilter),
demandShort(String, String),
demandShort(String, String, String),
demandShort(String, String, String, StringableFilter)
public static short requestShort(String inputPrompt,
String dialogTitle,
String defaultValue)
throws CancelledException
short or throws an exception
if the user cancels the operation,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the input
CancelledException - if the user cancels the input operationrequestShort(String, String),
requestShort(String, String, String, StringableFilter),
demandShort(String, String, String),
demandShort(String, String),
demandShort(String, String, String, StringableFilter)
public static short requestShort(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
throws CancelledException
short or throws an exception
if the user cancels the operation,
with the given default value.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be used
CancelledException - if the user cancels the input operationrequestShort(String, String),
requestShort(String, String, String),
demandShort(String, String, String),
demandShort(String, String),
demandShort(String, String, String, StringableFilter)
public static long demandLong(String inputPrompt,
String dialogTitle)
long using the mandatory model of IO.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdemandLong(String, String, String),
demandLong(String, String, String, StringableFilter),
requestLong(String, String),
requestLong(String, String, String),
requestLong(String, String, String, StringableFilter)
public static long demandLong(String inputPrompt,
String dialogTitle,
String defaultValue)
long using the mandatory model of IO,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputdemandLong(String, String),
demandLong(String, String, String, StringableFilter),
requestLong(String, String),
requestLong(String, String, String),
requestLong(String, String, String, StringableFilter)
public static long demandLong(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
long using the mandatory model of IO,
with the given default value and input filter.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be useddemandLong(String, String),
demandLong(String, String, String),
requestLong(String, String),
requestLong(String, String, String),
requestLong(String, String, String, StringableFilter)
public static long requestLong(String inputPrompt,
String dialogTitle)
throws CancelledException
long or throws an exception
if the user cancels the operation.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog box
CancelledException - if the user cancels the input operationrequestLong(String, String, String),
requestLong(String, String, String, StringableFilter),
demandLong(String, String),
demandLong(String, String, String),
demandLong(String, String, String, StringableFilter)
public static long requestLong(String inputPrompt,
String dialogTitle,
String defaultValue)
throws CancelledException
long or throws an exception
if the user cancels the operation,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the input
CancelledException - if the user cancels the input operationrequestLong(String, String),
requestLong(String, String, String, StringableFilter),
demandLong(String, String, String),
demandLong(String, String),
demandLong(String, String, String, StringableFilter)
public static long requestLong(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
throws CancelledException
long or throws an exception
if the user cancels the operation,
with the given default value.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be used
CancelledException - if the user cancels the input operationrequestLong(String, String),
requestLong(String, String, String),
demandLong(String, String, String),
demandLong(String, String),
demandLong(String, String, String, StringableFilter)
public static double demandDouble(String inputPrompt,
String dialogTitle)
double using the mandatory model of IO.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdemandDouble(String, String, String),
demandDouble(String, String, String, StringableFilter),
requestDouble(String, String),
requestDouble(String, String, String),
requestDouble(String, String, String, StringableFilter)
public static double demandDouble(String inputPrompt,
String dialogTitle,
String defaultValue)
double using the mandatory model of IO,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputdemandDouble(String, String),
demandDouble(String, String, String, StringableFilter),
requestDouble(String, String),
requestDouble(String, String, String),
requestDouble(String, String, String, StringableFilter)
public static double demandDouble(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
double using the mandatory model of IO,
with the given default value and input filter.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be useddemandDouble(String, String),
demandDouble(String, String, String),
requestDouble(String, String),
requestDouble(String, String, String),
requestDouble(String, String, String, StringableFilter)
public static double requestDouble(String inputPrompt,
String dialogTitle)
throws CancelledException
double or throws an exception
if the user cancels the operation.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog box
CancelledException - if the user cancels the input operationrequestDouble(String, String, String),
requestDouble(String, String, String, StringableFilter),
demandDouble(String, String),
demandDouble(String, String, String),
demandDouble(String, String, String, StringableFilter)
public static double requestDouble(String inputPrompt,
String dialogTitle,
String defaultValue)
throws CancelledException
double or throws an exception
if the user cancels the operation,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the input
CancelledException - if the user cancels the input operationrequestDouble(String, String),
requestDouble(String, String, String, StringableFilter),
demandDouble(String, String, String),
demandDouble(String, String),
demandDouble(String, String, String, StringableFilter)
public static double requestDouble(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
throws CancelledException
double or throws an exception
if the user cancels the operation,
with the given default value.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be used
CancelledException - if the user cancels the input operationrequestDouble(String, String),
requestDouble(String, String, String),
demandDouble(String, String, String),
demandDouble(String, String),
demandDouble(String, String, String, StringableFilter)
public static float demandFloat(String inputPrompt,
String dialogTitle)
float using the mandatory model of IO.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdemandFloat(String, String, String),
demandFloat(String, String, String, StringableFilter),
requestFloat(String, String),
requestFloat(String, String, String),
requestFloat(String, String, String, StringableFilter)
public static float demandFloat(String inputPrompt,
String dialogTitle,
String defaultValue)
float using the mandatory model of IO,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputdemandFloat(String, String),
demandFloat(String, String, String, StringableFilter),
requestFloat(String, String),
requestFloat(String, String, String),
requestFloat(String, String, String, StringableFilter)
public static float demandFloat(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
float using the mandatory model of IO,
with the given default value and input filter.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be useddemandFloat(String, String),
demandFloat(String, String, String),
requestFloat(String, String),
requestFloat(String, String, String),
requestFloat(String, String, String, StringableFilter)
public static float requestFloat(String inputPrompt,
String dialogTitle)
throws CancelledException
float or throws an exception
if the user cancels the operation.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog box
CancelledException - if the user cancels the input operationrequestFloat(String, String, String),
requestFloat(String, String, String, StringableFilter),
demandFloat(String, String),
demandFloat(String, String, String),
demandFloat(String, String, String, StringableFilter)
public static float requestFloat(String inputPrompt,
String dialogTitle,
String defaultValue)
throws CancelledException
float or throws an exception
if the user cancels the operation,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the input
CancelledException - if the user cancels the input operationrequestFloat(String, String),
requestFloat(String, String, String, StringableFilter),
demandFloat(String, String, String),
demandFloat(String, String),
demandFloat(String, String, String, StringableFilter)
public static float requestFloat(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
throws CancelledException
float or throws an exception
if the user cancels the operation,
with the given default value.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be used
CancelledException - if the user cancels the input operationrequestFloat(String, String),
requestFloat(String, String, String),
demandFloat(String, String, String),
demandFloat(String, String),
demandFloat(String, String, String, StringableFilter)
public static char demandChar(String inputPrompt,
String dialogTitle)
char using the mandatory model of IO.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdemandChar(String, String, String),
demandChar(String, String, String, StringableFilter),
requestChar(String, String),
requestChar(String, String, String),
requestChar(String, String, String, StringableFilter)
public static char demandChar(String inputPrompt,
String dialogTitle,
String defaultValue)
char using the mandatory model of IO,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputdemandChar(String, String),
demandChar(String, String, String, StringableFilter),
requestChar(String, String),
requestChar(String, String, String),
requestChar(String, String, String, StringableFilter)
public static char demandChar(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
char using the mandatory model of IO,
with the given default value and input filter.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be useddemandChar(String, String),
demandChar(String, String, String),
requestChar(String, String),
requestChar(String, String, String),
requestChar(String, String, String, StringableFilter)
public static char requestChar(String inputPrompt,
String dialogTitle)
throws CancelledException
char or throws an exception
if the user cancels the operation.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog box
CancelledException - if the user cancels the input operationrequestChar(String, String, String),
requestChar(String, String, String, StringableFilter),
demandChar(String, String),
demandChar(String, String, String),
demandChar(String, String, String, StringableFilter)
public static char requestChar(String inputPrompt,
String dialogTitle,
String defaultValue)
throws CancelledException
char or throws an exception
if the user cancels the operation,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the input
CancelledException - if the user cancels the input operationrequestChar(String, String),
requestChar(String, String, String, StringableFilter),
demandChar(String, String, String),
demandChar(String, String),
demandChar(String, String, String, StringableFilter)
public static char requestChar(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
throws CancelledException
char or throws an exception
if the user cancels the operation,
with the given default value.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be used
CancelledException - if the user cancels the input operationrequestChar(String, String),
requestChar(String, String, String),
demandChar(String, String, String),
demandChar(String, String),
demandChar(String, String, String, StringableFilter)
public static boolean demandBoolean(String inputPrompt,
String dialogTitle)
boolean using the mandatory model of IO.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdemandBoolean(String, String, String),
demandBoolean(String, String, String, StringableFilter),
requestBoolean(String, String),
requestBoolean(String, String, String),
requestBoolean(String, String, String, StringableFilter)
public static boolean demandBoolean(String inputPrompt,
String dialogTitle,
String defaultValue)
boolean using the mandatory model of IO,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputdemandBoolean(String, String),
demandBoolean(String, String, String, StringableFilter),
requestBoolean(String, String),
requestBoolean(String, String, String),
requestBoolean(String, String, String, StringableFilter)
public static boolean demandBoolean(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
boolean using the mandatory model of IO,
with the given default value and input filter.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be useddemandBoolean(String, String),
demandBoolean(String, String, String),
requestBoolean(String, String),
requestBoolean(String, String, String),
requestBoolean(String, String, String, StringableFilter)
public static boolean requestBoolean(String inputPrompt,
String dialogTitle)
throws CancelledException
boolean or throws an exception
if the user cancels the operation.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog box
CancelledException - if the user cancels the input operationrequestBoolean(String, String, String),
requestBoolean(String, String, String, StringableFilter),
demandBoolean(String, String),
demandBoolean(String, String, String),
demandBoolean(String, String, String, StringableFilter)
public static boolean requestBoolean(String inputPrompt,
String dialogTitle,
String defaultValue)
throws CancelledException
boolean or throws an exception
if the user cancels the operation,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the input
CancelledException - if the user cancels the input operationrequestBoolean(String, String),
requestBoolean(String, String, String, StringableFilter),
demandBoolean(String, String, String),
demandBoolean(String, String),
demandBoolean(String, String, String, StringableFilter)
public static boolean requestBoolean(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
throws CancelledException
boolean or throws an exception
if the user cancels the operation,
with the given default value.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be used
CancelledException - if the user cancels the input operationrequestBoolean(String, String),
requestBoolean(String, String, String),
demandBoolean(String, String, String),
demandBoolean(String, String),
demandBoolean(String, String, String, StringableFilter)
public static String demandString(String inputPrompt,
String dialogTitle)
String using the mandatory model of IO.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdemandString(String, String, String),
demandString(String, String, String, StringableFilter),
requestString(String, String),
requestString(String, String, String),
requestString(String, String, String, StringableFilter)
public static String demandString(String inputPrompt,
String dialogTitle,
String defaultValue)
String using the mandatory model of IO,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputdemandString(String, String),
demandString(String, String, String, StringableFilter),
requestString(String, String),
requestString(String, String, String),
requestString(String, String, String, StringableFilter)
public static String demandString(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
String using the mandatory model of IO,
with the given default value and input filter.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be useddemandString(String, String),
demandString(String, String, String),
requestString(String, String),
requestString(String, String, String),
requestString(String, String, String, StringableFilter)
public static String requestString(String inputPrompt,
String dialogTitle)
throws CancelledException
String or throws an exception
if the user cancels the operation.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog box
CancelledException - if the user cancels the input operationrequestString(String, String, String),
requestString(String, String, String, StringableFilter),
demandString(String, String),
demandString(String, String, String),
demandString(String, String, String, StringableFilter)
public static String requestString(String inputPrompt,
String dialogTitle,
String defaultValue)
throws CancelledException
String or throws an exception
if the user cancels the operation,
with the given default value.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the input
CancelledException - if the user cancels the input operationrequestString(String, String),
requestString(String, String, String, StringableFilter),
demandString(String, String, String),
demandString(String, String),
demandString(String, String, String, StringableFilter)
public static String requestString(String inputPrompt,
String dialogTitle,
String defaultValue,
StringableFilter filter)
throws CancelledException
String or throws an exception
if the user cancels the operation,
with the given default value.
If the given filter is null,
no input filter is used.
inputPrompt - the prompt for the text fielddialogTitle - the title of the dialog boxdefaultValue - the default value for the inputfilter - the input filter to be used
CancelledException - if the user cancels the input operationrequestString(String, String),
requestString(String, String, String),
demandString(String, String, String),
demandString(String, String),
demandString(String, String, String, StringableFilter)public static Stringable demandObject(TypedView viewObject)
viewObject - the view to use for the input operation
public static Stringable requestObject(TypedView viewObject)
throws CancelledException
viewObject - the view to use for the input operation
CancelledException - if the user cancels the input operation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||