|
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.InputFile
This class creates an input field in a form that accepts a file from the user.
FileUploadForm,
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 | |
InputFile(Form form,
java.lang.String name)
Creates a named file input field. |
|
InputFile(Form form,
java.lang.String name,
int size)
Creates a named file input field of the specified size. |
|
InputFile(Form form,
java.lang.String name,
int size,
int maxLength)
Creates a named file input field of the specified size and maximum input length. |
|
InputFile(InputField source)
Creates a named input field. |
|
| Method Summary | |
Input |
setOnChangeHandler(java.lang.String onChangeHandler)
Sets the JavaScript handler for this event. |
Tag |
setOnClickHandler(java.lang.String onClickHandler)
Sets the JavaScript handler for this event. |
| 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 InputFile(InputField source)
source - the input field from which this input field will be
created.
public InputFile(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 InputFile(Form form,
java.lang.String name,
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.size - the display size of the input field.
public InputFile(Form form,
java.lang.String name,
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.size - the display size of the input field.maxLength - the maximum number of characters to accept into the
field.| Method Detail |
public Input setOnChangeHandler(java.lang.String onChangeHandler)
setOnChangeHandler in class InputonChangeHandler - The new onChangeHandler value
public Tag setOnClickHandler(java.lang.String onClickHandler)
setOnClickHandler in class InputonClickHandler - The new onClickHandler value
|
PAJES 2.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||