com.ibm.as400.util.html
Class SubmitFormInput
java.lang.Object
|
+--com.ibm.as400.util.html.HTMLTagAttributes
|
+--com.ibm.as400.util.html.FormInput
|
+--com.ibm.as400.util.html.SubmitFormInput
- public class SubmitFormInput
- extends FormInput
The SubmitFormInput class represents a submit button input type in an HTML form.
The trailing slash "/" on the SubmitFormInput tag allows it to conform to
the XHTML specification.
Here is an example of a SubmitFormInput tag:
<input type="submit" value="Send" />
- See Also:
- Serialized Form
Constructor Summary |
SubmitFormInput()
Constructs a default SubmitFormInput object. |
SubmitFormInput(java.lang.String name)
Constructs a SubmitFormInput object with the specified control name. |
SubmitFormInput(java.lang.String name,
java.lang.String value)
Constructs a SubmitFormInput object with the specified control name and
initial input value. |
Method Summary |
java.lang.String |
getTag()
Returns the tag for the submit 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 java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
SubmitFormInput
public SubmitFormInput()
- Constructs a default SubmitFormInput object.
SubmitFormInput
public SubmitFormInput(java.lang.String name)
- Constructs a SubmitFormInput object with the specified control name.
- Parameters:
name
- The control name of the input field.
SubmitFormInput
public SubmitFormInput(java.lang.String name,
java.lang.String value)
- Constructs a SubmitFormInput 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.
getTag
public java.lang.String getTag()
- Returns the tag for the submit form input type.
- Returns:
- The tag.