|
PAJES 3.0.21 | ||||||||
| 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.InputInteger
public class InputInteger
This class creates an input field in a form that accepts an integer value from the user.
| 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 | |
|---|---|
InputInteger(Form form,
java.lang.String name)
Creates a named input field. |
|
InputInteger(Form form,
java.lang.String name,
int value)
Creates a named input field with a default value. |
|
InputInteger(Form form,
java.lang.String name,
int value,
int size)
Creates a named input field of the specified size. |
|
InputInteger(Form form,
java.lang.String name,
int value,
int size,
int maxLength)
Creates a named input field of the specified size and maximum input length. |
|
InputInteger(Form form,
java.lang.String name,
int value,
int size,
int maxLength,
boolean isRequired)
Creates a named input field of the specified size and maximum input length. |
|
InputInteger(Form form,
java.lang.String name,
int value,
int size,
int maxLength,
boolean isRequired,
int minValue)
Creates a named input field of the specified size and maximum input length. |
|
InputInteger(Form form,
java.lang.String name,
int value,
int size,
int maxLength,
boolean isRequired,
int minValue,
int maxValue)
Creates a named input field of the specified size and maximum input length. |
|
InputInteger(InputField source)
Creates a named input field. |
|
| Method Summary | |
|---|---|
InputInteger |
setMaximumValue(int maximumValue)
Sets the maximum allowable value for this input element. |
InputInteger |
setMinimumValue(int minimumValue)
Sets the minimum allowable value for this input element. |
| 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 InputInteger(Form form,
java.lang.String name)
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.
public InputInteger(Form form,
java.lang.String name,
int 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.value - the default value to assign to the field.
public InputInteger(Form form,
java.lang.String name,
int value,
int size)
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.value - the default value to assign.size - the display size of the input field.
public InputInteger(Form form,
java.lang.String name,
int value,
int size,
int maxLength)
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.value - the default value to assign.size - the display size of the input field.maxLength - the maximum number of characters to accept into the field.
public InputInteger(Form form,
java.lang.String name,
int value,
int size,
int maxLength,
boolean isRequired)
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.value - the default value to assign.size - the display size of the input field.maxLength - the maximum number of characters to accept into the field.isRequired - true if a value is required, or false if it may be left blank
public InputInteger(Form form,
java.lang.String name,
int value,
int size,
int maxLength,
boolean isRequired,
int minValue)
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.value - the default value to assign.size - the display size of the input field.maxLength - the maximum number of characters to accept into the field.isRequired - true if a value is required, or false if it may be left blankminValue - the minimum allowable value for this field
public InputInteger(Form form,
java.lang.String name,
int value,
int size,
int maxLength,
boolean isRequired,
int minValue,
int maxValue)
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.value - the default value to assign.size - the display size of the input field.maxLength - the maximum number of characters to accept into the field.isRequired - true if a value is required, or false if it may be left blankminValue - the minimum allowable value for this fieldmaxValue - the maximum allowable value for this fieldpublic InputInteger(InputField source)
source - the input field from which this input field will be created.| Method Detail |
|---|
public InputInteger setMaximumValue(int maximumValue)
maximumValue - the maximum allowable value for this input element.
public InputInteger setMinimumValue(int minimumValue)
minimumValue - the minimum allowable value for this input element.
|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||