com.ibm.as400.util.html
Class HiddenFormInput

java.lang.Object
  |
  +--com.ibm.as400.util.html.HTMLTagAttributes
        |
        +--com.ibm.as400.util.html.FormInput
              |
              +--com.ibm.as400.util.html.HiddenFormInput
All Implemented Interfaces:
HTMLTagElement, java.io.Serializable

public class HiddenFormInput
extends FormInput

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

Here is an example of a HiddenFormInput tag:
<input type="hidden" name="account" value="123456" />

See Also:
Serialized Form

Constructor Summary
HiddenFormInput()
          Constructs a HiddenFormInput object.
HiddenFormInput(java.lang.String name)
          Constructs a HiddenFormInput object with the specified control name.
HiddenFormInput(java.lang.String name, java.lang.String value)
          Constructs a HiddenFormInput object with the specified control name and initial input value.
 
Method Summary
 java.lang.String getTag()
          Returns the tag for the hidden 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

HiddenFormInput

public HiddenFormInput()
Constructs a HiddenFormInput object.

HiddenFormInput

public HiddenFormInput(java.lang.String name)
Constructs a HiddenFormInput object with the specified control name.
Parameters:
name - The control name of the input field.

HiddenFormInput

public HiddenFormInput(java.lang.String name,
                       java.lang.String value)
Constructs a HiddenFormInput object with the specified control name and initial input value.
Parameters:
name - The control name of the input field.
value - The initial value of the input field.
Method Detail

getTag

public java.lang.String getTag()
Returns the tag for the hidden form input type.
Returns:
The tag.