com.ibm.as400.util.html
Class ResetFormInput

java.lang.Object
  extended by com.ibm.as400.util.html.HTMLTagAttributes
      extended by com.ibm.as400.util.html.FormInput
          extended by com.ibm.as400.util.html.ResetFormInput
All Implemented Interfaces:
HTMLTagElement, Serializable

public class ResetFormInput
extends FormInput

The ResetFormInput class represents a reset button input type in an HTML form. The trailing slash "/" on the ResetFormInput tag allows it to conform to the XHTML specification.

Here is an example of a ResetFormInput tag:
<input type="reset" value="Reset" />

See Also:
Serialized Form

Constructor Summary
ResetFormInput()
          Constructs a default ResetFormInput object.
ResetFormInput(String name)
          Constructs a ResetFormInput object with the specified control name.
ResetFormInput(String name, String value)
          Constructs a ResetFormInput object with the specified control name and initial input value.
 
Method Summary
 String getFOTag()
          Returns a comment tag.
 String getTag()
          Returns the tag for the reset form input type.
 
Methods inherited from class com.ibm.as400.util.html.FormInput
addVetoableChangeListener, getDirection, getLanguage, getName, getSize, getValue, removeVetoableChangeListener, setDirection, setLanguage, setName, setSize, setValue, toString
 
Methods inherited from class com.ibm.as400.util.html.HTMLTagAttributes
addPropertyChangeListener, getAttributes, getAttributeString, removePropertyChangeListener, setAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ResetFormInput

public ResetFormInput()
Constructs a default ResetFormInput object.


ResetFormInput

public ResetFormInput(String name)
Constructs a ResetFormInput object with the specified control name.

Parameters:
name - The control name of the input field.

ResetFormInput

public ResetFormInput(String name,
                      String value)
Constructs a ResetFormInput object with the specified control name and initial input value.

Parameters:
name - The control name of the input field.
value - The input value used when the field is submitted.
Method Detail

getFOTag

public String getFOTag()
Returns a comment tag. This method should not be called. There is no XSL-FO support for this class.

Returns:
The comment tag.

getTag

public String getTag()
Returns the tag for the reset form input type.

Returns:
The tag.