|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JComboBox
edu.neu.ccs.gui.Dropdown
edu.neu.ccs.gui.DropdownView
A
for the selection of one of various provided
GeneralView items
or, if editable, a choice entered by the user.String
| Nested Class Summary |
| Nested classes inherited from class javax.swing.JComboBox |
JComboBox.AccessibleJComboBox, JComboBox.KeySelectionManager |
| Nested classes inherited from class javax.swing.JComponent |
JComponent.AccessibleJComponent |
| Nested classes inherited from class java.awt.Container |
Container.AccessibleAWTContainer |
| Nested classes inherited from class java.awt.Component |
Component.AccessibleAWTComponent, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary | |
protected GeneralViewSupport |
delegate
The GeneralViewSupport object. |
| Fields inherited from class edu.neu.ccs.gui.Dropdown |
DEFAULT_SELECTION, DEFAULT_WIDTH, defaultViewState, itemList, minimumWidth, PREFERRED_WIDTH, preferredWidth |
| Fields inherited from class javax.swing.JComboBox |
actionCommand, dataModel, editor, isEditable, keySelectionManager, lightWeightPopupEnabled, maximumRowCount, renderer, selectedItemReminder |
| Fields inherited from class javax.swing.JComponent |
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Container |
|
| Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface edu.neu.ccs.gui.TypedView |
DATA_TYPE |
| Fields inherited from interface edu.neu.ccs.gui.Displayable |
DEFAULT_VIEW_STATE, VIEW_STATE |
| 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 |
| Fields inherited from interface java.awt.image.ImageObserver |
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
DropdownView()
Constructs a view with no initial items. |
|
DropdownView(Font font)
Constructs a view with no initial items and the given font. |
|
DropdownView(Font font,
int minWidth)
Constructs a view with no initial items, the given font, and the given minimum width. |
|
DropdownView(int minWidth)
Constructs a view with no initial items and the given minimum width. |
|
DropdownView(String[] items)
Constructs a view with the given array of items, for which the first item is selected by default. |
|
DropdownView(String[] items,
Font font)
Constructs a view with the given array of items, for which the first item is selected by default and with the given font. |
|
DropdownView(String[] items,
Font font,
int minWidth)
Constructs a view with the given array of items, for which the first item is selected by default and with the given font and minimum width. |
|
DropdownView(String[] items,
int minWidth)
Constructs a view with the given array of items, for which the first item is selected by default and with the given minimum width. |
|
DropdownView(String[] items,
String selection)
Constructs a view with the given array of items, for which the given selection is selected by default. |
|
DropdownView(String[] items,
String selection,
boolean editable)
Constructs a view with the given array of items, for which the given selection is selected by default, and with the given editable state. |
|
DropdownView(String[] items,
String selection,
boolean editable,
Class dataType)
Constructs a view with the given array of items, for which the given selection is selected by default, with the given editable state, and the Stringable data type for the
TypedView data type. |
|
DropdownView(String[] items,
String selection,
boolean editable,
Class dataType,
StringableFilter filter)
Constructs a view with the given array of items, for which the given selection is selected by default, with the given editable state, and the Stringable data type for the
TypedView data type, and
the given StringableFilter that sets
the desired input filter. |
|
DropdownView(String[] items,
String selection,
Font font)
Constructs a view with the given array of items, for which the given selection is selected by default and with the given font. |
|
DropdownView(String[] items,
String selection,
Font font,
boolean editable)
Constructs a view with the given array of items, for which the given selection is selected by default, and with the given font and editable state. |
|
DropdownView(String[] items,
String selection,
Font font,
boolean editable,
Class dataType)
Constructs a view with the given array of items, for which the given selection is selected by default, with the given font and editable state, and the Stringable data type for the
TypedView data type. |
|
DropdownView(String[] items,
String selection,
Font font,
boolean editable,
Class dataType,
StringableFilter filter)
Constructs a view with the given array of items, for which the given selection is selected by default, with the given font and editable state, and the Stringable data type for the
TypedView data type, and
the given StringableFilter that sets
the desired input filter. |
|
DropdownView(String[] items,
String selection,
Font font,
int minWidth)
Constructs a view with the given array of items, for which the given selection is selected by default, and with the given font and minimum width. |
|
DropdownView(String[] items,
String selection,
Font font,
int minWidth,
boolean editable)
Constructs a view with the given array of items, for which the given selection is selected by default, and with the given font, width, and editable state. |
|
DropdownView(String[] items,
String selection,
Font font,
int minWidth,
boolean editable,
Class dataType)
Constructs a view with the given array of items, for which the given selection is selected by default, with the given font, minimum width, and editable state, and the Stringable data type for the
TypedView data type. |
|
DropdownView(String[] items,
String selection,
Font font,
int minWidth,
boolean editable,
Class dataType,
StringableFilter filter)
Constructs a view with the given array of items, for which the given selection is selected by default, with the given font, minimum width, and editable state, and the Stringable data type for the
TypedView data type, and
the given StringableFilter that sets
the desired input filter. |
|
DropdownView(String[] items,
String selection,
int minWidth)
Constructs a view with the given array of items, for which the given selection is selected by default, and with the given minimum width. |
|
DropdownView(String[] items,
String selection,
int minWidth,
boolean editable)
Constructs a view with the given array of items, for which the given selection is selected by default, and with the given width and editable state. |
|
DropdownView(String[] items,
String selection,
int minWidth,
boolean editable,
Class dataType)
Constructs a view with the given array of items, for which the given selection is selected by default, with the given minimum width and editable state, and the Stringable data type for the
TypedView data type. |
|
DropdownView(String[] items,
String selection,
int minWidth,
boolean editable,
Class dataType,
StringableFilter filter)
Constructs a view with the given array of items, for which the given selection is selected by default, with the given minimum width and editable state, and the Stringable data type for the
TypedView data type, and
the given StringableFilter that sets
the desired input filter. |
|
| Method Summary | |
void |
addMalformedDataListener(MalformedDataListener l)
|
BigDecimal |
demandBigDecimal()
Returns a BigDecimal extracted from the field
using the mandatory model. |
BigDecimal |
demandBigDecimal(StringableFilter f)
Returns a BigDecimal extracted from the field
using the mandatory model, with the given filter. |
BigInteger |
demandBigInteger()
Returns a BigInteger extracted from the field
using the mandatory model. |
BigInteger |
demandBigInteger(StringableFilter f)
Returns a BigInteger extracted from the field
using the mandatory model, with the given filter. |
boolean |
demandBoolean()
Returns a boolean extracted from the field
using the mandatory model. |
boolean |
demandBoolean(StringableFilter f)
Returns a boolean extracted from the field
using the mandatory model, with the given filter. |
byte |
demandByte()
Returns a byte extracted from the field
using the mandatory model. |
byte |
demandByte(StringableFilter f)
Returns a byte extracted from the field
using the mandatory model with the given filter. |
byte |
demandByteAsHex()
Returns a byte extracted from the field
as hexidecimal data
using the mandatory model. |
byte |
demandByteAsHex(StringableFilter f)
Returns a byte extracted from the field
as hexidecimal data
using the mandatory model with the given filter. |
char |
demandChar()
Returns a char extracted from the field
using the mandatory model. |
char |
demandChar(StringableFilter f)
Returns a char extracted from the field
using the mandatory model, with the given filter. |
Color |
demandColor()
Returns a Color extracted from the field
using the mandatory model. |
Color |
demandColor(StringableFilter f)
Returns a Color extracted from the field
using the mandatory model, with the given filter. |
double |
demandDouble()
Returns a double extracted from the field
using the mandatory model. |
double |
demandDouble(StringableFilter f)
Returns a double extracted from the field
using the mandatory model with the given filter. |
double |
demandDoubleAsHex()
Returns a double extracted from the field
as hexidecimal data
using the mandatory model. |
double |
demandDoubleAsHex(StringableFilter f)
Returns a double extracted from the field
as hexidecimal data
using the mandatory model with the given filter. |
float |
demandFloat()
Returns a float extracted from the field
using the mandatory model. |
float |
demandFloat(StringableFilter f)
Returns a float extracted from the field
using the mandatory model with the given filter. |
float |
demandFloatAsHex()
Returns a float extracted from the field
as hexidecimal data
using the mandatory model. |
float |
demandFloatAsHex(StringableFilter f)
Returns a float extracted from the field
as hexidecimal data
using the mandatory model with the given filter. |
int |
demandInt()
Returns an int extracted from the field
using the mandatory model. |
int |
demandInt(StringableFilter f)
Returns an int extracted from the field
using the mandatory model with the given filter. |
int |
demandIntAsHex()
Returns an int extracted from the field
as hexidecimal data
using the mandatory model. |
int |
demandIntAsHex(StringableFilter f)
Returns an int extracted from the field
as hexidecimal data
using the mandatory model with the given filter. |
long |
demandLong()
Returns a long extracted from the field
using the mandatory model. |
long |
demandLong(StringableFilter f)
Returns a long extracted from the field
using the mandatory model with the given filter. |
long |
demandLongAsHex()
Returns a long extracted from the field
as hexidecimal data
using the mandatory model. |
long |
demandLongAsHex(StringableFilter f)
Returns a long extracted from the field
as hexidecimal data
using the mandatory model with the given filter. |
Stringable |
demandObject()
Returns a Stringable object based on the view state
of the view using the mandatory model. |
Stringable |
demandObject(Class dataType,
StringableFilter filter)
Returns a Stringable object based on the view state
of the view, the temporary data type and filter, and the mandatory
model. |
Stringable |
demandObject(StringableFilter filter)
Returns a Stringable object based on the view state
of the view, the temporary filter, and the mandatory model. |
short |
demandShort()
Returns a short extracted from the field
using the mandatory model. |
short |
demandShort(StringableFilter f)
Returns a short extracted from the field
using the mandatory model with the given filter. |
short |
demandShortAsHex()
Returns a short extracted from the field
as hexidecimal data
using the mandatory model. |
short |
demandShortAsHex(StringableFilter f)
Returns a short extracted from the field
as hexidecimal data
using the mandatory model with the given filter. |
String |
demandString()
Returns a String extracted from the field
using the mandatory model. |
String |
demandString(StringableFilter f)
Returns a String extracted from the field
using the mandatory model, with the given filter. |
Class |
getDataType()
Returns the current class of objects returned when a model object is demanded or requested. |
StringableFilter |
getFilter()
Returns the current filter used by this view. |
InputProperties |
getInputProperties()
Returns the input properties for this view. |
protected void |
initializeDropdownView(String[] items,
String selection,
Font font,
int minWidth,
boolean editable,
Class dataType,
StringableFilter filter)
The initializer. |
GeneralView |
makeCopy()
Returns a new dropdown view with the same item list, font, preferred width, minimum width, data type, view state, default view state, initial input properties, stringable filter, and editable state as this dropdown view. |
void |
removeMalformedDataListener(MalformedDataListener l)
|
BigDecimal |
requestBigDecimal()
Returns a BigDecimal extracted from the field
using the optional model. |
BigDecimal |
requestBigDecimal(StringableFilter f)
Returns a BigDecimal extracted from the field
using the optional model, with the given filter. |
BigInteger |
requestBigInteger()
Returns a BigInteger extracted from the field
using the optional model. |
BigInteger |
requestBigInteger(StringableFilter f)
Returns a BigInteger extracted from the field
using the optional model, with the given filter. |
boolean |
requestBoolean()
Returns a boolean extracted from the field
using the optional model. |
boolean |
requestBoolean(StringableFilter f)
Returns a boolean extracted from the field
using the optional model, with the given filter. |
byte |
requestByte()
Returns a byte extracted from the field
using the optional model. |
byte |
requestByte(StringableFilter f)
Returns a byte extracted from the field
using the optional model with the given filter. |
byte |
requestByteAsHex()
Returns a byte extracted from the field
as hexidecimal data
using the optional model. |
byte |
requestByteAsHex(StringableFilter f)
Returns a byte extracted from the field
as hexidecimal data
using the optional model with the given filter. |
char |
requestChar()
Returns a char extracted from the field
using the optional model. |
char |
requestChar(StringableFilter f)
Returns a char extracted from the field
using the optional model, with the given filter. |
Color |
requestColor()
Returns a Color extracted from the field
using the optional model. |
Color |
requestColor(StringableFilter f)
Returns a Color extracted from the field
using the optional model, with the given filter. |
double |
requestDouble()
Returns a double extracted from the field
using the optional model. |
double |
requestDouble(StringableFilter f)
Returns a double extracted from the field
using the optional model with the given filter. |
double |
requestDoubleAsHex()
Returns a double extracted from the field
as hexidecimal data
using the optional model. |
double |
requestDoubleAsHex(StringableFilter f)
Returns a double extracted from the field
as hexidecimal data
using the optional model with the given filter. |
float |
requestFloat()
Returns a float extracted from the field
using the optional model. |
float |
requestFloat(StringableFilter f)
Returns a float extracted from the field
using the optional model with the given filter. |
float |
requestFloatAsHex()
Returns a float extracted from the field
as hexidecimal data
using the optional model. |
float |
requestFloatAsHex(StringableFilter f)
Returns a float extracted from the field
as hexidecimal data
using the optional model with the given filter. |
int |
requestInt()
Returns an int extracted from the field
using the optional model. |
int |
requestInt(StringableFilter f)
Returns an int extracted from the field
using the optional model with the given filter. |
int |
requestIntAsHex()
Returns an int extracted from the field
as hexidecimal data
using the optional model. |
int |
requestIntAsHex(StringableFilter f)
Returns an int extracted from the field
as hexidecimal data
using the optional model with the given filter. |
long |
requestLong()
Returns a long extracted from the field
using the optional model. |
long |
requestLong(StringableFilter f)
Returns a long extracted from the field
using the optional model with the given filter. |
long |
requestLongAsHex()
Returns a long extracted from the field
as hexidecimal data
using the optional model. |
long |
requestLongAsHex(StringableFilter f)
Returns a long extracted from the field
as hexidecimal data
using the optional model with the given filter. |
Stringable |
requestObject()
Returns a Stringable object based on the view state
of the view using the optional model; throws an exception if the
input operation is cancelled by the user. |
Stringable |
requestObject(Class dataType,
StringableFilter filter)
Returns a Stringable object based on the view state
of the view, the temporary data type and filter, and the optional
model. |
Stringable |
requestObject(StringableFilter filter)
Returns a Stringable object based on the view state
of the view, the temporary filter, and the optional model. |
short |
requestShort()
Returns a short extracted from the field
using the optional model. |
short |
requestShort(StringableFilter f)
Returns a short extracted from the field
using the optional model with the given filter. |
short |
requestShortAsHex()
Returns a short extracted from the field
as hexidecimal data
using the optional model. |
short |
requestShortAsHex(StringableFilter f)
Returns a short extracted from the field
as hexidecimal data
using the optional model with the given filter. |
String |
requestString()
Returns a String extracted from the field
using the optional model. |
String |
requestString(StringableFilter f)
Returns a String extracted from the field
using the optional model, with the given filter. |
void |
setDataType(Class dataType)
Sets the current class of objects returned when a model object is demanded or requested. |
void |
setErrorPromptTitleSuggestion(String errorPrompt,
String dialogTitle,
String suggestion)
Sets the three input property Strings for an error
dialog in a single method. |
void |
setFilter(StringableFilter filter)
Sets the current filter used by the view to the given StringableFilter. |
void |
setInputProperties(InputProperties properties)
Sets the input properties for this view to the provided input properties. |
| Methods inherited from class edu.neu.ccs.gui.Dropdown |
addItem, addItems, autoSetPreferredWidth, getDefaultFont, getDefaultViewState, getItems, getMinimumWidth, getPreferredSize, getPreferredWidth, getViewState, initializeDropdown, insertItemAt, refresh, refreshComponent, removeAllItems, removeItem, removeItemAt, removeItems, reset, setDefaultViewState, setFont, setItems, setMinimumWidth, setPreferredWidth, setPreferredWidth, setPreferredWidth, setViewState |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface edu.neu.ccs.gui.GeneralView |
addActionListener, removeActionListener |
| Methods inherited from interface edu.neu.ccs.gui.Displayable |
getDefaultViewState, getViewState, reset, setDefaultViewState, setEnabled, setViewState |
| Field Detail |
protected GeneralViewSupport delegate
| Constructor Detail |
public DropdownView()
Constructs a view with no initial items.
Other constructors:
- DropdownView(int)
- DropdownView(Font)
- DropdownView(Font, int)
- DropdownView(String[])
- DropdownView(String[], int)
- DropdownView(String[], Font)
- DropdownView(String[], Font, int)
- DropdownView(String[], String)
- DropdownView(String[], String, int)
- DropdownView(String[], String, Font)
- DropdownView(String[], String, Font, int)
- DropdownView(String[], String, boolean)
- DropdownView(String[], String, int, boolean)
- DropdownView(String[], String, Font, boolean)
- DropdownView(String[], String, Font, int, boolean)
- DropdownView(String[], String, boolean, Class)
- DropdownView(String[], String, int, boolean, Class)
- DropdownView(String[], String, Font, boolean, Class)
- DropdownView(String[], String, Font, int, boolean, Class)
- DropdownView(String[], String, boolean, Class, StringableFilter)
- DropdownView(String[], String, int, boolean, Class, StringableFilter)
- DropdownView(String[], String, Font, boolean, Class, StringableFilter)
- DropdownView(String[], String, Font, int, boolean, Class, StringableFilter)
public DropdownView(int minWidth)
minWidth - the preferred minimum widthDropdownView()public DropdownView(Font font)
font - the font for the viewDropdownView()
public DropdownView(Font font,
int minWidth)
font - the font for the viewminWidth - the preferred minimum widthDropdownView()public DropdownView(String[] items)
Constructs a view with the given array of items, for which the first item is selected by default.
If the given array of items is null,
no items are initially added to the view.
items - the array of dropdown itemsDropdownView()
public DropdownView(String[] items,
int minWidth)
Constructs a view with the given array of items, for which the first item is selected by default and with the given minimum width.
If the given array of items is null,
no items are initially added to the view.
items - the array of dropdown itemsminWidth - the preferred minimum widthDropdownView()
public DropdownView(String[] items,
Font font)
Constructs a view with the given array of items, for which the first item is selected by default and with the given font.
If the given array of items is null,
no items are initially added to the view.
items - the array of dropdown itemsfont - the font for the viewDropdownView()
public DropdownView(String[] items,
Font font,
int minWidth)
Constructs a view with the given array of items, for which the first item is selected by default and with the given font and minimum width.
If the given array of items is null,
no items are initially added to the view.
items - the array of dropdown itemsfont - the font for the viewminWidth - the preferred minimum widthDropdownView()
public DropdownView(String[] items,
String selection)
Constructs a view with the given array of items, for which the given selection is selected by default.
If the given array of items is null,
no items are initially added to the view.
If the view is not editable and the selection is not in the array of items then the selection will set the default state but will not be displayed.
items - the array of dropdown itemsselection - the default initial choiceDropdownView()
public DropdownView(String[] items,
String selection,
int minWidth)
Constructs a view with the given array of items, for which the given selection is selected by default, and with the given minimum width.
If the given array of items is null,
no items are initially added to the view.
If the view is not editable and the selection is not in the array of items then the selection will set the default state but will not be displayed.
items - the array of dropdown itemsselection - the default initial choiceminWidth - the preferred minimum widthDropdownView()
public DropdownView(String[] items,
String selection,
Font font)
Constructs a view with the given array of items, for which the given selection is selected by default and with the given font.
If the given array of items is null,
no items are initially added to the view.
If the view is not editable and the selection is not in the array of items then the selection will set the default state but will not be displayed.
items - the array of dropdown itemsselection - the default initial choicefont - the font for the viewDropdownView()
public DropdownView(String[] items,
String selection,
Font font,
int minWidth)
Constructs a view with the given array of items, for which the given selection is selected by default, and with the given font and minimum width.
If the given array of items is null,
no items are initially added to the view.
If the view is not editable and the selection is not in the array of items then the selection will set the default state but will not be displayed.
items - the array of dropdown itemsselection - the default initial choicefont - the font for the viewminWidth - the preferred minimum widthDropdownView()
public DropdownView(String[] items,
String selection,
boolean editable)
Constructs a view with the given array of items, for which the given selection is selected by default, and with the given editable state.
If the given array of items is null,
no items are initially added to the view.
If the view is not editable and the selection is not in the array of items then the selection will set the default state but will not be displayed.
items - the array of dropdown itemsselection - the label for the initial default choiceeditable - whether or not the view is user editableDropdownView()
public DropdownView(String[] items,
String selection,
int minWidth,
boolean editable)
Constructs a view with the given array of items, for which the given selection is selected by default, and with the given width and editable state.
If the given array of items is null,
no items are initially added to the view.
If the view is not editable and the selection is not in the array of items then the selection will set the default state but will not be displayed.
items - the array of dropdown itemsselection - the label for the initial default choiceminWidth - the preferred minimum widtheditable - whether or not the view is user editableDropdownView()
public DropdownView(String[] items,
String selection,
Font font,
boolean editable)
Constructs a view with the given array of items, for which the given selection is selected by default, and with the given font and editable state.
If the given array of items is null,
no items are initially added to the view.
If the view is not editable and the selection is not in the array of items then the selection will set the default state but will not be displayed.
items - the array of dropdown itemsselection - the label for the initial default choicefont - the font for the vieweditable - whether or not the view is user editableDropdownView()
public DropdownView(String[] items,
String selection,
Font font,
int minWidth,
boolean editable)
Constructs a view with the given array of items, for which the given selection is selected by default, and with the given font, width, and editable state.
If the given array of items is null,
no items are initially added to the view.
If the view is not editable and the selection is not in the array of items then the selection will set the default state but will not be displayed.
items - the array of dropdown itemsselection - the label for the initial default choicefont - the font for the viewminWidth - the preferred minimum widtheditable - whether or not the view is user editableDropdownView()
public DropdownView(String[] items,
String selection,
boolean editable,
Class dataType)
Constructs a view with the given array of items,
for which the given selection is selected by default,
with the given editable state,
and the Stringable data type for the
TypedView data type.
If the given array of items is null,
no items are initially added to the view.
If the view is not editable and the selection is not in the array of items then the selection will set the default state but will not be displayed.
The data type must be Stringable or
null. If null then the
data type is set to XString.class.
items - the array of dropdown itemsselection - the label for the initial default choiceeditable - whether or not the view is user editabledataType - the Stringable model type for this view
Error - if the given data type is not assignable from
the Stringable reference type or nullDropdownView()
public DropdownView(String[] items,
String selection,
int minWidth,
boolean editable,
Class dataType)
Constructs a view with the given array of items,
for which the given selection is selected by default,
with the given minimum width and editable state,
and the Stringable data type for the
TypedView data type.
If the given array of items is null,
no items are initially added to the view.
If the view is not editable and the selection is not in the array of items then the selection will set the default state but will not be displayed.
The data type must be Stringable or
null. If null then the
data type is set to XString.class.
items - the array of dropdown itemsselection - the label for the initial default choiceminWidth - the preferred minimum widtheditable - whether or not the view is user editabledataType - the Stringable model type for this view
Error - if the given data type is not assignable from
the Stringable reference type or nullDropdownView()
public DropdownView(String[] items,
String selection,
Font font,
boolean editable,
Class dataType)
Constructs a view with the given array of items,
for which the given selection is selected by default,
with the given font and editable state,
and the Stringable data type for the
TypedView data type.
If the given array of items is null,
no items are initially added to the view.
If the view is not editable and the selection is not in the array of items then the selection will set the default state but will not be displayed.
The data type must be Stringable or
null. If null then the
data type is set to XString.class.
items - the array of dropdown itemsselection - the label for the initial default choicefont - the font for the vieweditable - whether or not the view is user editabledataType - the Stringable model type for this view
Error - if the given data type is not assignable from
the Stringable reference type or nullDropdownView()
public DropdownView(String[] items,
String selection,
Font font,
int minWidth,
boolean editable,
Class dataType)
Constructs a view with the given array of items,
for which the given selection is selected by default,
with the given font, minimum width, and editable state,
and the Stringable data type for the
TypedView data type.
If the given array of items is null,
no items are initially added to the view.
If the view is not editable and the selection is not in the array of items then the selection will set the default state but will not be displayed.
The data type must be Stringable or
null. If null then the
data type is set to XString.class.
items - the array of dropdown itemsselection - the label for the initial default choicefont - the font for the viewminWidth - the preferred minimum widtheditable - whether or not the view is user editabledataType - the Stringable model type for this view
Error - if the given data type is not assignable from
the Stringable reference type or nullDropdownView()
public DropdownView(String[] items,
String selection,
boolean editable,
Class dataType,
StringableFilter filter)
Constructs a view with the given array of items,
for which the given selection is selected by default,
with the given editable state,
and the Stringable data type for the
TypedView data type, and
the given StringableFilter that sets
the desired input filter.
If the given array of items is null,
no items are initially added to the view.
If the view is not editable and the selection is not in the array of items then the selection will set the default state but will not be displayed.
The data type must be Stringable or
null. If null then the
data type is set to XString.class.
items - the array of dropdown itemsselection - the label for the initial default choiceeditable - whether or not the view is user editabledataType - the Stringable model type for this viewfilter - the optional StringableFilter filter
Error - if the given data type is not assignable from
the Stringable reference type or nullDropdownView()
public DropdownView(String[] items,
String selection,
int minWidth,
boolean editable,
Class dataType,
StringableFilter filter)
Constructs a view with the given array of items,
for which the given selection is selected by default,
with the given minimum width and editable state,
and the Stringable data type for the
TypedView data type, and
the given StringableFilter that sets
the desired input filter.
If the given array of items is null,
no items are initially added to the view.
If the view is not editable and the selection is not in the array of items then the selection will set the default state but will not be displayed.
The data type must be Stringable or
null. If null then the
data type is set to XString.class.
items - the array of dropdown itemsselection - the label for the initial default choiceminWidth - the preferred minimum widtheditable - whether or not the view is user editabledataType - the Stringable model type for this viewfilter - the optional StringableFilter filter
Error - if the given data type is not assignable from
the Stringable reference type or nullDropdownView()
public DropdownView(String[] items,
String selection,
Font font,
boolean editable,
Class dataType,
StringableFilter filter)
Constructs a view with the given array of items,
for which the given selection is selected by default,
with the given font and editable state,
and the Stringable data type for the
TypedView data type, and
the given StringableFilter that sets
the desired input filter.
If the given array of items is null,
no items are initially added to the view.
If the view is not editable and the selection is not in the array of items then the selection will set the default state but will not be displayed.
The data type must be Stringable or
null. If null then the
data type is set to XString.class.
items - the array of dropdown itemsselection - the label for the initial default choicefont - the font for the vieweditable - whether or not the view is user editabledataType - the Stringable model type for this viewfilter - the optional StringableFilter filter
Error - if the given data type is not assignable from
the Stringable reference type or nullDropdownView()
public DropdownView(String[] items,
String selection,
Font font,
int minWidth,
boolean editable,
Class dataType,
StringableFilter filter)
Constructs a view with the given array of items,
for which the given selection is selected by default,
with the given font, minimum width, and editable state,
and the Stringable data type for the
TypedView data type, and
the given StringableFilter that sets
the desired input filter.
If the given array of items is null,
no items are initially added to the view.
If the view is not editable and the selection is not in the array of items then the selection will set the default state but will not be displayed.
The data type must be Stringable or
null. If null then the
data type is set to XString.class.
items - the array of dropdown itemsselection - the label for the initial default choicefont - the font for the viewminWidth - the preferred minimum widtheditable - whether or not the view is user editabledataType - the Stringable model type for this viewfilter - the optional StringableFilter filter
Error - if the given data type is not assignable from
the Stringable reference type or nullDropdownView()| Method Detail |
protected void initializeDropdownView(String[] items,
String selection,
Font font,
int minWidth,
boolean editable,
Class dataType,
StringableFilter filter)
items - the array of dropdown itemsselection - the label for the initial default choicefont - the font for the viewminWidth - the preferred minimum widtheditable - whether or not the view is user editabledataType - the Stringable model type for this viewfilter - the optional StringableFilter filterpublic GeneralView makeCopy()
makeCopy in interface GeneralViewpublic void setDataType(Class dataType)
GeneralView
setDataType in interface GeneralViewdataType - the new class of objects for model objectspublic Class getDataType()
TypedView
getDataType in interface TypedViewpublic void setFilter(StringableFilter filter)
GeneralView
setFilter in interface GeneralViewfilter - the filter to be usedpublic StringableFilter getFilter()
GeneralView
getFilter in interface GeneralViewpublic Stringable demandObject()
TypedViewStringable object based on the view state
of the view using the mandatory model.
demandObject in interface TypedViewStringable model objectTypedView.requestObject()
public Stringable requestObject()
throws CancelledException
TypedViewStringable object based on the view state
of the view using the optional model; throws an exception if the
input operation is cancelled by the user.
requestObject in interface TypedViewStringable model object
CancelledExceptionTypedView.demandObject()public Stringable demandObject(StringableFilter filter)
GeneralViewStringable object based on the view state
of the view, the temporary filter, and the mandatory model.
demandObject in interface GeneralViewfilter - the temporary filter to use
Stringable model objectTypedView.demandObject(),
GeneralView.requestObject(Class, StringableFilter)
public Stringable requestObject(StringableFilter filter)
throws CancelledException
GeneralViewStringable object based on the view state
of the view, the temporary filter, and the optional model.
requestObject in interface GeneralViewfilter - the temporary filter to use
Stringable model object
CancelledExceptionTypedView.requestObject(),
GeneralView.demandObject(Class, StringableFilter)
public Stringable demandObject(Class dataType,
StringableFilter filter)
GeneralViewStringable object based on the view state
of the view, the temporary data type and filter, and the mandatory
model.
demandObject in interface GeneralViewStringable model objectTypedView.demandObject(),
GeneralView.requestObject(Class, StringableFilter)
public Stringable requestObject(Class dataType,
StringableFilter filter)
throws CancelledException
GeneralViewStringable object based on the view state
of the view, the temporary data type and filter, and the optional
model.
requestObject in interface GeneralViewStringable model object
CancelledExceptionTypedView.requestObject(),
GeneralView.demandObject(Class, StringableFilter)public void setInputProperties(InputProperties properties)
TypedViewSets the input properties for this view to the provided input properties.
If the given input properties list is null, the
property list for this view is set to the base property list
containing default property values.
setInputProperties in interface TypedViewproperties - the new input properties for the viewTypedView.getInputProperties()public InputProperties getInputProperties()
TypedView
getInputProperties in interface TypedViewTypedView.setInputProperties(InputProperties)
public void setErrorPromptTitleSuggestion(String errorPrompt,
String dialogTitle,
String suggestion)
GeneralViewStrings for an error
dialog in a single method.
setErrorPromptTitleSuggestion in interface GeneralViewerrorPrompt - the error prompt of an error dialogdialogTitle - the dialog title of an error dialogsuggestion - the suggestion for an error dialogpublic void addMalformedDataListener(MalformedDataListener l)
public void removeMalformedDataListener(MalformedDataListener l)
public byte demandByte()
byte extracted from the field
using the mandatory model.
demandByte(StringableFilter),
demandByteAsHex(),
demandByteAsHex(StringableFilter),
requestByte(),
requestByte(StringableFilter),
requestByteAsHex(),
requestByteAsHex(StringableFilter)public byte demandByte(StringableFilter f)
byte extracted from the field
using the mandatory model with the given filter.
f - the filter to use for the input operationdemandByte(),
demandByteAsHex(),
demandByteAsHex(StringableFilter),
requestByte(),
requestByte(StringableFilter),
requestByteAsHex(),
requestByteAsHex(StringableFilter)public byte demandByteAsHex()
byte extracted from the field
as hexidecimal data
using the mandatory model.
demandByte(),
demandByte(StringableFilter),
demandByteAsHex(StringableFilter),
requestByte(),
requestByte(StringableFilter),
requestByteAsHex(),
requestByteAsHex(StringableFilter)public byte demandByteAsHex(StringableFilter f)
byte extracted from the field
as hexidecimal data
using the mandatory model with the given filter.
f - the filter to use for the input operationdemandByte(),
demandByte(StringableFilter),
demandByteAsHex(),
requestByte(),
requestByte(StringableFilter),
requestByteAsHex(),
requestByteAsHex(StringableFilter)
public byte requestByte()
throws CancelledException
byte extracted from the field
using the optional model.
CancelledException - if the user cancelled the input operationdemandByte(),
demandByte(StringableFilter),
demandByteAsHex(),
demandByteAsHex(StringableFilter),
requestByte(StringableFilter),
requestByteAsHex(),
requestByteAsHex(StringableFilter)
public byte requestByte(StringableFilter f)
throws CancelledException
byte extracted from the field
using the optional model with the given filter.
f - the filter to use for the input operation
CancelledException - if the user cancelled the input operationdemandByte(),
demandByte(StringableFilter),
demandByteAsHex(),
demandByteAsHex(StringableFilter),
requestByte(),
requestByteAsHex(),
requestByteAsHex(StringableFilter)
public byte requestByteAsHex()
throws CancelledException
byte extracted from the field
as hexidecimal data
using the optional model.
CancelledException - if the user cancelled the input operationdemandByte(),
demandByte(StringableFilter),
demandByteAsHex(),
demandByteAsHex(StringableFilter),
requestByte(),
requestByte(StringableFilter),
requestByteAsHex(StringableFilter)
public byte requestByteAsHex(StringableFilter f)
throws CancelledException
byte extracted from the field
as hexidecimal data
using the optional model with the given filter.
f - the filter to use for the input operation
CancelledException - if the user cancelled the input operationdemandByte(),
demandByte(StringableFilter),
demandByteAsHex(),
demandByteAsHex(StringableFilter),
requestByte(),
requestByte(StringableFilter),
requestByteAsHex()public short demandShort()
short extracted from the field
using the mandatory model.
demandShort(StringableFilter),
demandShortAsHex(),
demandShortAsHex(StringableFilter),
requestShort(),
requestShort(StringableFilter),
requestShortAsHex(),
requestShortAsHex(StringableFilter)public short demandShort(StringableFilter f)
short extracted from the field
using the mandatory model with the given filter.
f - the filter to use for the input operationdemandShort(),
demandShortAsHex(),
demandShortAsHex(StringableFilter),
requestShort(),
requestShort(StringableFilter),
requestShortAsHex(),
requestShortAsHex(StringableFilter)public short demandShortAsHex()
short extracted from the field
as hexidecimal data
using the mandatory model.
demandShort(),
demandShort(StringableFilter),
demandShortAsHex(StringableFilter),
requestShort(),
requestShort(StringableFilter),
requestShortAsHex(),
requestShortAsHex(StringableFilter)public short demandShortAsHex(StringableFilter f)
short extracted from the field
as hexidecimal data
using the mandatory model with the given filter.
f - the filter to use for the input operationdemandShort(),
demandShort(StringableFilter),
demandShortAsHex(),
requestShort(),
requestShort(StringableFilter),
requestShortAsHex(),
requestShortAsHex(StringableFilter)
public short requestShort()
throws CancelledException
short extracted from the field
using the optional model.
CancelledException - if the user cancelled the input operationdemandShort(),
demandShort(StringableFilter),
demandShortAsHex(),
demandShortAsHex(StringableFilter),
requestShort(StringableFilter),
requestShortAsHex(),
requestShortAsHex(StringableFilter)
public short requestShort(StringableFilter f)
throws CancelledException
short extracted from the field
using the optional model with the given filter.
f - the filter to use for the input operation
CancelledException - if the user cancelled the input operationdemandShort(),
demandShort(StringableFilter),
demandShortAsHex(),
demandShortAsHex(StringableFilter),
requestShort(),
requestShortAsHex(),
requestShortAsHex(StringableFilter)
public short requestShortAsHex()
throws CancelledException
short extracted from the field
as hexidecimal data
using the optional model.
CancelledException - if the user cancelled the input operationdemandShort(),
demandShort(StringableFilter),
demandShortAsHex(),
demandShortAsHex(StringableFilter),
requestShort(),
requestShort(StringableFilter),
requestShortAsHex(StringableFilter)
public short requestShortAsHex(StringableFilter f)
throws CancelledException
short extracted from the field
as hexidecimal data
using the optional model with the given filter.
f - the filter to use for the input operation
CancelledException - if the user cancelled the input operationdemandShort(),
demandShort(StringableFilter),
demandShortAsHex(),
demandShortAsHex(StringableFilter),
requestShort(),
requestShort(StringableFilter),
requestShortAsHex()public int demandInt()
int extracted from the field
using the mandatory model.
demandInt(StringableFilter),
demandIntAsHex(),
demandIntAsHex(StringableFilter),
requestInt(),
requestInt(StringableFilter),
requestIntAsHex(),
requestIntAsHex(StringableFilter)public int demandInt(StringableFilter f)
int extracted from the field
using the mandatory model with the given filter.
f - the filter to use for the input operationdemandInt(),
demandIntAsHex(),
demandIntAsHex(StringableFilter),
requestInt(),
requestInt(StringableFilter),
requestIntAsHex(),
requestIntAsHex(StringableFilter)public int demandIntAsHex()
int extracted from the field
as hexidecimal data
using the mandatory model.
demandInt(),
demandInt(StringableFilter),
demandIntAsHex(StringableFilter),
requestInt(),
requestInt(StringableFilter),
requestIntAsHex(),
requestIntAsHex(StringableFilter)public int demandIntAsHex(StringableFilter f)
int extracted from the field
as hexidecimal data
using the mandatory model with the given filter.
f - the filter to use for the input operationdemandInt(),
demandInt(StringableFilter),
demandIntAsHex(),
requestInt(),
requestInt(StringableFilter),
requestIntAsHex(),
requestIntAsHex(StringableFilter)
public int requestInt()
throws CancelledException
int extracted from the field
using the optional model.
CancelledException - if the user cancelled the input operationdemandInt(),
demandInt(StringableFilter),
demandIntAsHex(),
demandIntAsHex(StringableFilter),
requestInt(StringableFilter),
requestIntAsHex(),
requestIntAsHex(StringableFilter)
public int requestInt(StringableFilter f)
throws CancelledException
int extracted from the field
using the optional model with the given filter.
f - the filter to use for the input operation
CancelledException - if the user cancelled the input operationdemandInt(),
demandInt(StringableFilter),
demandIntAsHex(),
demandIntAsHex(StringableFilter),
requestInt(),
requestIntAsHex(),
requestIntAsHex(StringableFilter)
public int requestIntAsHex()
throws CancelledException
int extracted from the field
as hexidecimal data
using the optional model.
CancelledException - if the user cancelled the input operationdemandInt(),
demandInt(StringableFilter),
demandIntAsHex(),
demandIntAsHex(StringableFilter),
requestInt(),
requestInt(StringableFilter),
requestIntAsHex(StringableFilter)
public int requestIntAsHex(StringableFilter f)
throws CancelledException
int extracted from the field
as hexidecimal data
using the optional model with the given filter.
f - the filter to use for the input operation
CancelledException - if the user cancelled the input operationdemandInt(),
demandInt(StringableFilter),
demandIntAsHex(),
demandIntAsHex(StringableFilter),
requestInt(),
requestInt(StringableFilter),
requestIntAsHex()public long demandLong()
long extracted from the field
using the mandatory model.
demandLong(StringableFilter),
demandLongAsHex(),
demandLongAsHex(StringableFilter),
requestLong(),
requestLong(StringableFilter),
requestLongAsHex(),
requestLongAsHex(StringableFilter)public long demandLong(StringableFilter f)
long extracted from the field
using the mandatory model with the given filter.
f - the filter to use for the input operationdemandLong(),
demandLongAsHex(),
demandLongAsHex(StringableFilter),
requestLong(),
requestLong(StringableFilter),
requestLongAsHex(),
requestLongAsHex(StringableFilter)public long demandLongAsHex()
long extracted from the field
as hexidecimal data
using the mandatory model.
demandLong(),
demandLong(StringableFilter),
demandLongAsHex(StringableFilter),
requestLong(),
requestLong(StringableFilter),
requestLongAsHex(),
requestLongAsHex(StringableFilter)public long demandLongAsHex(StringableFilter f)
long extracted from the field
as hexidecimal data
using the mandatory model with the given filter.
f - the filter to use for the input operationdemandLong(),
demandLong(StringableFilter),
demandLongAsHex(),
requestLong(),
requestLong(StringableFilter),
requestLongAsHex(),
requestLongAsHex(StringableFilter)
public long requestLong()
throws CancelledException
long extracted from the field
using the optional model.
CancelledException - if the user cancelled the input operationdemandLong(),
demandLong(StringableFilter),
demandLongAsHex(),
demandLongAsHex(StringableFilter),
requestLong(StringableFilter),
requestLongAsHex(),
requestLongAsHex(StringableFilter)
public long requestLong(StringableFilter f)
throws CancelledException
long extracted from the field
using the optional model with the given filter.
f - the filter to use for the input operation
CancelledException - if the user cancelled the input operationdemandLong(),
demandLong(StringableFilter),
demandLongAsHex(),
demandLongAsHex(StringableFilter),
requestLong(),
requestLongAsHex(),
requestLongAsHex(StringableFilter)
public long requestLongAsHex()
throws CancelledException
long extracted from the field
as hexidecimal data
using the optional model.
CancelledException - if the user cancelled the input operationdemandLong(),
demandLong(StringableFilter),
demandLongAsHex(),
demandLongAsHex(StringableFilter),
requestLong(),
requestLong(StringableFilter),
requestLongAsHex(StringableFilter)
public long requestLongAsHex(StringableFilter f)
throws CancelledException
long extracted from the field
as hexidecimal data
using the optional model with the given filter.
f - the filter to use for the input operation
CancelledException - if the user cancelled the input operationdemandLong(),
demandLong(StringableFilter),
demandLongAsHex(),
demandLongAsHex(StringableFilter),
requestLong(),
requestLong(StringableFilter),
requestLongAsHex()public float demandFloat()
float extracted from the field
using the mandatory model.
demandFloat(StringableFilter),
demandFloatAsHex(),
demandFloatAsHex(StringableFilter),
requestFloat(),
requestFloat(StringableFilter),
requestFloatAsHex(),
requestFloatAsHex(StringableFilter)public float demandFloat(StringableFilter f)
float extracted from the field
using the mandatory model with the given filter.
f - the filter to use for the input operationdemandFloat(),
demandFloatAsHex(),
demandFloatAsHex(StringableFilter),
requestFloat(),
requestFloat(StringableFilter),
requestFloatAsHex(),
requestFloatAsHex(StringableFilter)public float demandFloatAsHex()
float extracted from the field
as hexidecimal data
using the mandatory model.
demandFloat(),
demandFloat(StringableFilter),
demandFloatAsHex(StringableFilter),
requestFloat(),
requestFloat(StringableFilter),
requestFloatAsHex(),
requestFloatAsHex(StringableFilter)public float demandFloatAsHex(StringableFilter f)
float extracted from the field
as hexidecimal data
using the mandatory model with the given filter.
f - the filter to use for the input operationdemandFloat(),
demandFloat(StringableFilter),
demandFloatAsHex(),
requestFloat(),
requestFloat(StringableFilter),
requestFloatAsHex(),
requestFloatAsHex(StringableFilter)
public float requestFloat()
throws CancelledException
float extracted from the field
using the optional model.
CancelledException - if the user cancelled the input operationdemandFloat(),
demandFloat(StringableFilter),
demandFloatAsHex(),
demandFloatAsHex(StringableFilter),
requestFloat(StringableFilter),
requestFloatAsHex(),
requestFloatAsHex(StringableFilter)
public float requestFloat(StringableFilter f)
throws CancelledException
float extracted from the field
using the optional model with the given filter.
f - the filter to use for the input operation
CancelledException - if the user cancelled the input operationdemandFloat(),
demandFloat(StringableFilter),
demandFloatAsHex(),
demandFloatAsHex(StringableFilter),
requestFloat(),
requestFloatAsHex(),
requestFloatAsHex(StringableFilter)
public float requestFloatAsHex()
throws CancelledException
float extracted from the field
as hexidecimal data
using the optional model.
CancelledException - if the user cancelled the input operationdemandFloat(),
demandFloat(StringableFilter),
demandFloatAsHex(),
demandFloatAsHex(StringableFilter),
requestFloat(),
requestFloat(StringableFilter),
requestFloatAsHex(StringableFilter)
public float requestFloatAsHex(StringableFilter f)
throws CancelledException
float extracted from the field
as hexidecimal data
using the optional model with the given filter.
f - the filter to use for the input operation
CancelledException - if the user cancelled the input operationdemandFloat(),
demandFloat(StringableFilter),
demandFloatAsHex(),
demandFloatAsHex(StringableFilter),
requestFloat(),
requestFloat(StringableFilter),
requestFloatAsHex()public double demandDouble()
double extracted from the field
using the mandatory model.
demandDouble(StringableFilter),
demandDoubleAsHex(),
demandDoubleAsHex(StringableFilter),
requestDouble(),
requestDouble(StringableFilter),
requestDoubleAsHex(),
requestDoubleAsHex(StringableFilter)public double demandDouble(StringableFilter f)
double extracted from the field
using the mandatory model with the given filter.
f - the filter to use for the input operationdemandDouble(),
demandDoubleAsHex(),
demandDoubleAsHex(StringableFilter),
requestDouble(),
requestDouble(StringableFilter),
requestDoubleAsHex(),
requestDoubleAsHex(StringableFilter)public double demandDoubleAsHex()
double extracted from the field
as hexidecimal data
using the mandatory model.
demandDouble(),
demandDouble(StringableFilter),
demandDoubleAsHex(StringableFilter),
requestDouble(),
requestDouble(StringableFilter),
requestDoubleAsHex(),
requestDoubleAsHex(StringableFilter)public double demandDoubleAsHex(StringableFilter f)
double extracted from the field
as hexidecimal data
using the mandatory model with the given filter.
f - the filter to use for the input operationdemandDouble(),
demandDouble(StringableFilter),
demandDoubleAsHex(),
requestDouble(),
requestDouble(StringableFilter),
requestDoubleAsHex(),
requestDoubleAsHex(StringableFilter)
public double requestDouble()
throws CancelledException
double extracted from the field
using the optional model.
CancelledException - if the user cancelled the input operationdemandDouble(),
demandDouble(StringableFilter),
demandDoubleAsHex(),
demandDoubleAsHex(StringableFilter),
requestDouble(StringableFilter),
requestDoubleAsHex(),
requestDoubleAsHex(StringableFilter)
public double requestDouble(StringableFilter f)
throws CancelledException
double extracted from the field
using the optional model with the given filter.
f - the filter to use for the input operation
CancelledException - if the user cancelled the input operationdemandDouble(),
demandDouble(StringableFilter),
demandDoubleAsHex(),
demandDoubleAsHex(StringableFilter),
requestDouble(),
requestDoubleAsHex(),
requestDoubleAsHex(StringableFilter)
public double requestDoubleAsHex()
throws CancelledException
double extracted from the field
as hexidecimal data
using the optional model.
CancelledException - if the user cancelled the input operationdemandDouble(),
demandDouble(StringableFilter),
demandDoubleAsHex(),
demandDoubleAsHex(StringableFilter),
requestDouble(),
requestDouble(StringableFilter),
requestDoubleAsHex(StringableFilter)
public double requestDoubleAsHex(StringableFilter f)
throws CancelledException
double extracted from the field
as hexidecimal data
using the optional model with the given filter.
f - the filter to use for the input operation
CancelledException - if the user cancelled the input operationdemandDouble(),
demandDouble(StringableFilter),
demandDoubleAsHex(),
demandDoubleAsHex(StringableFilter),
requestDouble(),
requestDouble(StringableFilter),
requestDoubleAsHex()public char demandChar()
char extracted from the field
using the mandatory model.
demandChar(StringableFilter),
requestChar(),
requestChar(StringableFilter)public char demandChar(StringableFilter f)
char extracted from the field
using the mandatory model, with the given filter.
f - the filter to use for the input operationdemandChar(),
requestChar(StringableFilter),
requestChar()
public char requestChar()
throws CancelledException
char extracted from the field
using the optional model.
CancelledException - if the user cancelled the input operationrequestChar(StringableFilter),
demandChar(),
demandChar(StringableFilter)
public char requestChar(StringableFilter f)
throws CancelledException
char extracted from the field
using the optional model, with the given filter.
f - the filter to use for the input operation
CancelledException - if the user cancelled the input operationrequestChar(),
demandChar(StringableFilter),
demandChar()public boolean demandBoolean()
boolean extracted from the field
using the mandatory model.
demandBoolean(StringableFilter),
requestBoolean(),
requestBoolean(StringableFilter)public boolean demandBoolean(StringableFilter f)
boolean extracted from the field
using the mandatory model, with the given filter.
f - the filter to use for the input operationdemandBoolean(),
requestBoolean(StringableFilter),
requestBoolean()
public boolean requestBoolean()
throws CancelledException
boolean extracted from the field
using the optional model.
CancelledException - if the user cancelled the input operationrequestBoolean(StringableFilter),
demandBoolean(),
demandBoolean(StringableFilter)
public boolean requestBoolean(StringableFilter f)
throws CancelledException
boolean extracted from the field
using the optional model, with the given filter.
f - the filter to use for the input operation
CancelledException - if the user cancelled the input operationrequestBoolean(),
demandBoolean(StringableFilter),
demandBoolean()public String demandString()
String extracted from the field
using the mandatory model.
demandString(StringableFilter),
requestString(),
requestString(StringableFilter)public String demandString(StringableFilter f)
String extracted from the field
using the mandatory model, with the given filter.
f - the filter to use for the input operationdemandString(),
requestString(StringableFilter),
requestString()
public String requestString()
throws CancelledException
String extracted from the field
using the optional model.
CancelledException - if the user cancelled the input operationrequestString(StringableFilter),
demandString(),
demandString(StringableFilter)
public String requestString(StringableFilter f)
throws CancelledException
String extracted from the field
using the optional model, with the given filter.
f - the filter to use for the input operation
CancelledException - if the user cancelled the input operationrequestString(),
demandString(StringableFilter),
demandString()public Color demandColor()
Returns a Color extracted from the field
using the mandatory model.
Although the Color input methods are
available in this view, it is recommended that the
class ColorView be used for color input.
demandColor(StringableFilter),
requestColor(),
requestColor(StringableFilter)public Color demandColor(StringableFilter f)
Returns a Color extracted from the field
using the mandatory model, with the given filter.
Although the Color input methods are
available in this view, it is recommended that the
class ColorView be used for color input.
f - the filter to use for the input operationdemandColor(),
requestColor(StringableFilter),
requestColor()
public Color requestColor()
throws CancelledException
Returns a Color extracted from the field
using the optional model.
Although the Color input methods are
available in this view, it is recommended that the
class ColorView be used for color input.
CancelledException - if the user cancelled the input operationrequestColor(StringableFilter),
demandColor(),
demandColor(StringableFilter)
public Color requestColor(StringableFilter f)
throws CancelledException
Returns a Color extracted from the field
using the optional model, with the given filter.
Although the Color input methods are
available in this view, it is recommended that the
class ColorView be used for color input.
f - the filter to use for the input operation
CancelledException - if the user cancelled the input operationrequestColor(),
demandColor(StringableFilter),
demandColor()public BigInteger demandBigInteger()
BigInteger extracted from the field
using the mandatory model.
demandBigInteger(StringableFilter),
requestBigInteger(),
requestBigInteger(StringableFilter)public BigInteger demandBigInteger(StringableFilter f)
BigInteger extracted from the field
using the mandatory model, with the given filter.
f - the filter to use for the input operationdemandBigInteger(),
requestBigInteger(StringableFilter),
requestBigInteger()
public BigInteger requestBigInteger()
throws CancelledException
BigInteger extracted from the field
using the optional model.
CancelledException - if the user cancelled the input operationrequestBigInteger(StringableFilter),
demandBigInteger(),
demandBigInteger(StringableFilter)
public BigInteger requestBigInteger(StringableFilter f)
throws CancelledException
BigInteger extracted from the field
using the optional model, with the given filter.
f - the filter to use for the input operation
CancelledException - if the user cancelled the input operationrequestBigInteger(),
demandBigInteger(StringableFilter),
demandBigInteger()public BigDecimal demandBigDecimal()
BigDecimal extracted from the field
using the mandatory model.
demandBigDecimal(StringableFilter),
requestBigDecimal(),
requestBigDecimal(StringableFilter)public BigDecimal demandBigDecimal(StringableFilter f)
BigDecimal extracted from the field
using the mandatory model, with the given filter.
f - the filter to use for the input operationdemandBigDecimal(),
requestBigDecimal(StringableFilter),
requestBigDecimal()
public BigDecimal requestBigDecimal()
throws CancelledException
BigDecimal extracted from the field
using the optional model.
CancelledException - if the user cancelled the input operationrequestBigDecimal(StringableFilter),
demandBigDecimal(),
demandBigDecimal(StringableFilter)
public BigDecimal requestBigDecimal(StringableFilter f)
throws CancelledException
BigDecimal extracted from the field
using the optional model, with the given filter.
f - the filter to use for the input operation
CancelledExceptionrequestBigDecimal(),
demandBigDecimal(StringableFilter),
demandBigDecimal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||