com.ibm.as400.util.html
Class PasswordFormInput
- java.lang.Object
-
- com.ibm.as400.util.html.HTMLTagAttributes
-
- com.ibm.as400.util.html.FormInput
-
- com.ibm.as400.util.html.TextFormInput
-
- com.ibm.as400.util.html.PasswordFormInput
-
- All Implemented Interfaces:
- HTMLTagElement, java.io.Serializable
public class PasswordFormInput extends TextFormInput
The PasswordFormInput class represents a password input field type in an HTML form. The trailing slash "/" on the PasswordFormInput tag allows it to conform to the XHTML specification.Here is an example of a PasswordFormInput tag:
<input type="password" name="password" size="12" />- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description PasswordFormInput()
Constructs a default PasswordFormInput object.PasswordFormInput(java.lang.String name)
Constructs a PasswordFormInput object with the specified control name.PasswordFormInput(java.lang.String name, java.lang.String value)
Constructs a PasswordFormInput object with the specified control name and initial input value.
-
Method Summary
Methods Modifier and Type Method and Description java.lang.String
getFOTag()
Returns a comment tag.java.lang.String
getTag()
Returns the tag for the password form input type.-
Methods inherited from class com.ibm.as400.util.html.TextFormInput
getMaxLength, setMaxLength
-
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
-
-
-
-
Constructor Detail
-
PasswordFormInput
public PasswordFormInput()
Constructs a default PasswordFormInput object.
-
PasswordFormInput
public PasswordFormInput(java.lang.String name)
Constructs a PasswordFormInput object with the specified control name.- Parameters:
name
- The control name of the input field.
-
PasswordFormInput
public PasswordFormInput(java.lang.String name, java.lang.String value)
Constructs a PasswordFormInput 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
-
getFOTag
public java.lang.String getFOTag()
Returns a comment tag. This method should not be called. There is no XSL-FO support for this class.- Specified by:
getFOTag
in interfaceHTMLTagElement
- Overrides:
getFOTag
in classTextFormInput
- Returns:
- The comment tag.
-
getTag
public java.lang.String getTag()
Returns the tag for the password form input type.- Specified by:
getTag
in interfaceHTMLTagElement
- Overrides:
getTag
in classTextFormInput
- Returns:
- The tag.
-
-