|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pajes.html.Tag
org.pajes.html.Input
org.pajes.html.InputField
org.pajes.html.InputString
org.pajes.html.InputFormattedString
This class creates an input field in a form that accepts a a formatted string from the user.
IsFormat,
Serialized Form| Field Summary |
| Fields inherited from class org.pajes.html.Input |
TYPE_ATTRIBUTE |
| Fields inherited from class org.pajes.html.Tag |
ON_CLICK_ATTRIBUTE, TAG_CLOSE, TAG_LEFT, TAG_RIGHT |
| Constructor Summary | |
protected |
InputFormattedString()
Creates a new InputFormattedString object. |
|
InputFormattedString(Form form,
java.lang.String name,
java.lang.String formatMask)
Creates a named input field with the specified format mask. |
|
InputFormattedString(Form form,
java.lang.String name,
java.lang.String formatMask,
java.lang.String value)
Creates a named input field with the specified format mask and default value. |
|
InputFormattedString(InputField source,
java.lang.String formatMask)
Creates a named input field. |
| Method Summary | |
java.lang.String |
getFormat()
Returns the validation format mask assigned to this field. |
InputFormattedString |
setFormat(java.lang.String formatMask)
Sets the validation format for this field. |
Input |
setValue(java.lang.String value)
Sets the value attribute of this INPUT tag. |
| Methods inherited from class org.pajes.html.InputField |
getClientValidation, getMaxLength, getSize, isMandatory, setMandatory, setMandatory, setMandatory, setMaxLength, setMaxLength, setSize, setSize |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.pajes.html.InputValidation |
getDOMReference, getName, isRequiringValidation, setOnBlurValidation |
| Constructor Detail |
public InputFormattedString(InputField source,
java.lang.String formatMask)
source - the input field from which this input field will be
created.formatMask - a format string that complies with the requirements
of IsFormat.
public InputFormattedString(Form form,
java.lang.String name,
java.lang.String formatMask)
form - the form on which this input field will appear. Note that
the element must still be added to the form - this reference is
used by the getDOMReference() method to determine the fully
qualified element name.name - the name to apply to the input object, so that it may be
manipulated using client-side JavaScript.formatMask - a format string that complies with the requirements
of IsFormat.
public InputFormattedString(Form form,
java.lang.String name,
java.lang.String formatMask,
java.lang.String value)
form - the form on which this input field will appear. Note that
the element must still be added to the form - this reference is
used by the getDOMReference() method to determine the fully
qualified element name.name - the name to apply to the input object, so that it may be
manipulated using client-side JavaScript.formatMask - a format string that complies with the requirements
of IsFormat.value - the default value to assign.protected InputFormattedString()
| Method Detail |
public InputFormattedString setFormat(java.lang.String formatMask)
formatMask - a format string that complies with the requirements
of IsFormat.
public java.lang.String getFormat()
public Input setValue(java.lang.String value)
setValue in class Inputvalue - the value to assign.
|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||