|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wheel.components.Component wheel.components.RenderableComponent wheel.components.FormElement wheel.components.NumberInput
public class NumberInput
A FormElement that knows how to handle numeric input. Uses java.text.DecimalFormat internally. Use the pattern format described in DecimalFormat class. Has basic support for different schemes for handling decimal numbers. Supports '.' and ',' as decimal separators.
Field Summary |
---|
Fields inherited from class wheel.components.FormElement |
---|
genericFieldErrorMessage, value |
Method Summary | |
---|---|
java.lang.String |
_applyFormat(java.lang.Object value)
By overriding this method, its possible to apply some formatting to MVEL-evaluations in the eval() method. |
void |
_setSubmitValue(java.lang.String[] value)
Sets the value retrieved from a form submit for this element. |
java.lang.String |
defaultTagName()
Subclasses must implement this. |
void |
renderComponent(org.xmlpull.v1.XmlSerializer serializer)
Default implementation that will render all renderable child components that this component has. |
Methods inherited from class wheel.components.FormElement |
---|
_clear, _getSubmitValue, _getSubmitValues, _render, addValidationError, defaultDomEvent, fieldBinding, getBinding, getErrors, getFormElementName, initialFieldValue, initialFieldValue, isEmpty, isInt, isValid, label, required, setBinding, setFormElementName, validate, validationRule, validationRule, value |
Methods inherited from class wheel.components.RenderableComponent |
---|
_classReferenceFromHints, _getRenderAfterMe, _getRenderBeforeMe, _renderActions, _renderClassReferenceFromHints, _renderTagStart, _renderXhtmlAttributes, addRenderAfter, addRenderBefore, config, getTagName, toString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
public java.lang.String defaultTagName()
RenderableComponent
defaultTagName
in class RenderableComponent
public void _setSubmitValue(java.lang.String[] value)
FormElement
_setSubmitValue
in class FormElement
public void renderComponent(org.xmlpull.v1.XmlSerializer serializer) throws java.io.IOException
RenderableComponent
renderComponent
in class RenderableComponent
java.io.IOException
public java.lang.String _applyFormat(java.lang.Object value)
Component
_applyFormat
in class Component
value
- The result of an MVEL-evaluation.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |