|
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.InputChecked
org.pajes.html.InputCheckBox
public class InputCheckBox
This class builds the HTML checkbox tag.
| 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 | |
|---|---|
InputCheckBox(Form form,
java.lang.String name,
java.lang.String value,
boolean isChecked)
Create a Checkbox tag. |
|
InputCheckBox(Form form,
java.lang.String name,
java.lang.String value,
boolean isChecked,
Span displayText,
boolean textOnLeft)
Create a Checkbox tag. |
|
InputCheckBox(Form form,
java.lang.String name,
java.lang.String value,
boolean isChecked,
java.lang.String displayText,
boolean textOnLeft)
Create a Checkbox tag. |
|
InputCheckBox(Form form,
java.lang.String name,
java.lang.String value,
boolean isChecked,
Text displayText,
boolean textOnLeft)
Create a Checkbox tag. |
|
InputCheckBox(InputField source)
Creates a check box from another input field. |
|
| Method Summary |
|---|
| Methods inherited from class org.pajes.html.InputChecked |
|---|
isChecked, isMandatory, setChecked, setCheckedValue, setDisplayText, setDisplayText, setDisplayTextOnLeft, setMandatory, setMandatory, setValue, write |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface org.pajes.html.InputValidation |
|---|
getClientValidation, getDOMReference, getName, isRequiringValidation, setOnBlurValidation |
| Constructor Detail |
|---|
public InputCheckBox(Form form,
java.lang.String name,
java.lang.String value,
boolean isChecked)
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 value returned if the checkbox is selectedisChecked - Set to true if you want the check box to have a check in it.
public InputCheckBox(Form form,
java.lang.String name,
java.lang.String value,
boolean isChecked,
Span displayText,
boolean textOnLeft)
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 value returned if the checkbox is selected.isChecked - Set to true if you want the check box to have a check in it.displayText - the text to be displayed next to the check box.textOnLeft - true if the text is to be displayed on the left of the check
box, or false if it is to be displayed on the right.
public InputCheckBox(Form form,
java.lang.String name,
java.lang.String value,
boolean isChecked,
java.lang.String displayText,
boolean textOnLeft)
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 value returned if the checkbox is selected.isChecked - Set to true if you want the check box to have a check in it.displayText - the text to be displayed next to the check boxtextOnLeft - true if the text is to be displayed on the left of the check
box, or false if it is to be displayed on the right.
public InputCheckBox(Form form,
java.lang.String name,
java.lang.String value,
boolean isChecked,
Text displayText,
boolean textOnLeft)
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 value returned if the checkbox is selected.isChecked - Set to true if you want the check box to have a check in it.displayText - the text to be displayed next to the check box.textOnLeft - true if the text is to be displayed on the left of the check
box, or false if it is to be displayed on the right.public InputCheckBox(InputField source)
source - the input field from which this check box will be created.
|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||