|
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.ResetButton
public class ResetButton
This class creates a Reset button on the 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 | |
|---|---|
ResetButton(Form form)
Generate a Reset button for the form. |
|
ResetButton(Form form,
java.lang.String value)
Generate a Reset button for the form. |
|
ResetButton(Form form,
java.lang.String value,
boolean confirmReset)
Generate a Reset button for the form. |
|
| Method Summary | |
|---|---|
void |
write(Browser browser)
Writes the <input> tag to the browser. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ResetButton(Form form)
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.
public ResetButton(Form form,
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.value - the text to appear on the button.
public ResetButton(Form form,
java.lang.String value,
boolean confirmReset)
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.value - the text to appear on the button.confirmReset - adds the validateReset() method from the ClientValidation
JavaScript object to this button.| Method Detail |
|---|
public void write(Browser browser)
throws java.io.IOException
write in interface HTMLwrite in class Inputbrowser - the browser to which the results are to be output.
java.io.IOException - if an I/O error occurs writing to the browser.Tag.setWriteEndTag(boolean),
Tag.writeContent(org.pajes.servlet.Browser)
|
PAJES 3.0.21 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||