|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Object
|
+--UI
|
+--ElementaryUI
|
+--DoubleUI
This UI supports both elements of type double and Double. That is convenient because for a class field of type double, the reflective field type (i.e. "field. getType ()") will be float, but the reflective extraction of its value (i.e. "field. get (parentObject)") returns an object of type Double.
| Field Summary |
| Fields inherited from class ElementaryUI |
inputRequested |
| Fields inherited from class UI |
enclosingUI, INVALID_FORMAT, INVALID_NUMERIC_FORMAT, invalidInputValue, MISSING_REQUIRED, out, qualifiedName, recipient, recipientClass, recipientField, submissionCount, uiActivity, valid, validationMessages |
| Constructor Summary | |
DoubleUI()
|
|
| Method Summary | |
Object |
parse(String inputValue)
This method parses the input value and either converts the input into an object of the recipient's type, or it posts one or more validation messages with this UI. |
| Methods inherited from class ElementaryUI |
clearValidation, format, getInvalidInput, getValue, init, init, isMissingRequired, render, renderCols, renderVal, setValue, validate, validate, wasInputSubmitted |
| Methods inherited from class UI |
addValidation, beginOutputCollection, concatenateValidation, endOutputCollection, formatToolTip, getFactory, getQualifiedName, getRecipient, getTitle, include, isReadOnly, isValid, renderTitle, renderTitle, renderTitle, renderTitleAndValidation, renderValidation |
| Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public DoubleUI()
| Method Detail |
public Object parse(String inputValue)
ElementaryUIThis method parses the input value and either converts the input into
an object of the recipient's type, or it posts one or more validation messages
with this UI. It does not set the recipient to the resulting converted value
as that is done by ElementaryUI.validate(String). This method is meant only
for internal use by the validation methods, specially when subclassing this
class.
parse in class ElementaryUI
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||