com.jcorporate.expresso.services.html
Class TextField
java.lang.Object
com.jcorporate.expresso.services.html.HtmlElement
com.jcorporate.expresso.services.html.TextField
- Direct Known Subclasses:
- PasswordField
- public class TextField
- extends HtmlElement
- Version:
- $Revision: 1.8 $ $Date: 2004/11/17 20:48:18 $
- Author:
- Michael Nash
|
Method Summary |
protected void |
display(PrintWriter out,
int depth)
Display the text field on the page |
| Methods inherited from class com.jcorporate.expresso.services.html.HtmlElement |
add, display, finalize, getAttribute, getContentCount, getCSSClass, getName, padWithTabs, setAttribute, setCSSClass, setCSSID, setDisplayed, setName, setParent |
maxLength
protected int maxLength
size
protected int size
fieldName
protected String fieldName
fieldValue
protected String fieldValue
TextField
public TextField()
throws HtmlException
- Constructor
TextField
public TextField(String newFieldName,
String newFieldValue,
int newMaxLength,
int newSize)
throws HtmlException
- Constructor
- Parameters:
newFieldName - field namenewFieldValue - field valuenewMaxLength - maximum input lengthnewSize - maximum display size
display
protected void display(PrintWriter out,
int depth)
throws HtmlException
- Display the text field on the page
- Specified by:
display in class HtmlElement
- Parameters:
out - output streamdepth - the number of tabs to indent
- Throws:
HtmlException - If the element (or it's contents) cannot be displayed
Please see www.jcorporate.com for information about new Expresso releases.