|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--com.raj.htmlForms.HtmlFormElement
|
+--com.raj.htmlForms.HtmlInput
|
+--com.raj.htmlForms.HtmlButtons
|
+--com.raj.htmlForms.HtmlResetButton
This class represents the <input type="reset"> HTML button.
This class (HtmlResetButton.java) is part of the com.raj.htmlForms package that
automatically generates HTML forms programmatically.
CREATED 26-FEB-2002, Copyright (c) Rajnish Bhaskar 2002
| Field Summary |
| Fields inherited from class com.raj.htmlForms.HtmlFormElement |
isXHTML, out |
| Constructor Summary | |
HtmlResetButton(java.io.Writer w)
Minimal constructor for any form element. |
|
HtmlResetButton(java.io.Writer w,
boolean x,
java.lang.String val)
Constructor that sets the writer and a boolean which determines whether or not XHTML will be written |
|
HtmlResetButton(java.io.Writer w,
java.lang.String val)
Constructor that sets the text of the reset button (since there are often times when you won't bother giving a reset button a name) |
|
HtmlResetButton(java.io.Writer w,
java.lang.String n,
java.lang.String val)
Constructor that sets the name and text of the reset button |
|
| Method Summary | |
void |
write()
writes an HTML reset button to the given writer |
| Methods inherited from class com.raj.htmlForms.HtmlInput |
getAccessKey, getDisabled, getReadOnly, getSize, getValue, isDisabled, reset, setAccessKey, setReadOnly, setSize, setValue, toString |
| Methods inherited from class com.raj.htmlForms.HtmlFormElement |
getDir, getId, getLang, getName, getOnBlur, getOnClick, getOnDblClick, getOnFocus, getOnKeyDown, getOnKeyPress, getOnKeyUp, getOnMouseDown, getOnMouseMove, getOnMouseOut, getOnMouseOver, getOnMouseUp, getOnSelect, getStyle, getTabIndex, getTheClass, getTitle, getXhtml, setDir, setId, setLang, setName, setOnBlur, setOnClick, setOnDblClick, setOnFocus, setOnKeyDown, setOnKeyPress, setOnKeyUp, setOnMouseDown, setOnMouseMove, setOnMouseOut, setOnMouseOver, setOnMouseUp, setOnSelect, setStyle, setStyle, setTabIndex, setTheClass, setTitle, setXhtml |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public HtmlResetButton(java.io.Writer w)
foo becomes setFoo(). The attribute names can be
found at the W3C HTML reference or many other places on the web.
w - the Writer to which all the data will be written out
public HtmlResetButton(java.io.Writer w,
boolean x,
java.lang.String val)
w - the Writer to which all the data will be written outx - if true, XHTML will be written, else falseval - the value of this element
public HtmlResetButton(java.io.Writer w,
java.lang.String val)
w - the Writer to which all the data will be written outval - the initial value of this control
public HtmlResetButton(java.io.Writer w,
java.lang.String n,
java.lang.String val)
w - the Writer to which all the data will be written outn - the name of this elementval - the initial value of this control| Method Detail |
public void write()
write in class HtmlFormElement
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||