com.jcorporate.expresso.services.html
Class PasswordField
java.lang.Object
com.jcorporate.expresso.services.html.HtmlElement
com.jcorporate.expresso.services.html.TextField
com.jcorporate.expresso.services.html.PasswordField
- public class PasswordField
- extends TextField
An HTML password field
- Version:
- $Revision: 1.7 $ $Date: 2004/11/17 20:48:18 $
- Author:
- Michael Nash
|
Constructor Summary |
PasswordField()
Constructor |
PasswordField(String newFieldName,
String newFieldValue,
int newMaxLength,
int newSize)
Constructor
Create a new password field with the given name, value and sizes |
|
Method Summary |
protected void |
display(PrintWriter out,
int depth)
Display the password field to the client |
| Methods inherited from class com.jcorporate.expresso.services.html.HtmlElement |
add, display, finalize, getAttribute, getContentCount, getCSSClass, getName, padWithTabs, setAttribute, setCSSClass, setCSSID, setDisplayed, setName, setParent |
PasswordField
public PasswordField()
throws HtmlException
- Constructor
- Throws:
HtmlException - If the superclass constructor fails
PasswordField
public PasswordField(String newFieldName,
String newFieldValue,
int newMaxLength,
int newSize)
throws HtmlException
- Constructor
Create a new password field with the given name, value and sizes
- Parameters:
newFieldName - Name of the fieldnewFieldValue - Initial value of the fieldnewMaxLength - Maximum data length of the fieldnewSize - Visual size of the field
- Throws:
HtmlException - If the field cannot be created
display
protected void display(PrintWriter out,
int depth)
throws HtmlException
- Display the password field to the client
- Overrides:
display in class TextField
- Parameters:
depth - the number of tabs to indentout - PrintWriter to the client
- Throws:
HtmlException - If the field cannot be displayed
Please see www.jcorporate.com for information about new Expresso releases.