|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.jdc.xml.ComplexTag
|
+--com.jdc.gui.html.ComplexTag
|
+--com.jdc.gui.html.tag.Input
Input is used to create the HTML required to create input tags in a browser, including the start tag, the input attributes, and the end tag as well as the actual input data.
| Field Summary |
| Fields inherited from interface com.jdc.gui.html.MarkupLanguage |
XHTML |
| Constructor Summary | |
Input()
Constructs a Input tag object. |
|
Input(boolean format)
Constructs a Input tag object and sets the format status. |
|
| Method Summary | |
String |
create()
Create and return the HTML required to create a Input tag in a browser. |
String |
create(String input)
Create and return the HTML required to create a Input tag in a browser. |
String |
endTag()
Return an Input end tag. |
Input |
setChecked(boolean checked)
Set the input (field) checked. |
Input |
setClass(String classname)
Set the input tag Class name. |
Input |
setId(String id)
Set the input tag id. |
Input |
setMaxLength(int maxLength)
Set the input (field) maximum length. |
Input |
setName(String name)
Set the input tag name. |
Input |
setOnBlur(boolean returnValue,
String eventAction)
Set the input tag onBlur event action. |
Input |
setOnBlur(String eventAction)
Set the input tag onBlur event action. |
Input |
setOnClick(boolean returnValue,
String eventAction)
Set the input tag onClick event action. |
Input |
setOnClick(String eventAction)
Set the input tag onClick event action. |
Input |
setOnDoubleClick(boolean returnValue,
String eventAction)
Set the input tag onDblClick event action. |
Input |
setOnDoubleClick(String eventAction)
Set the input tag onDblClick event action. |
Input |
setOnFocus(boolean returnValue,
String eventAction)
Set the input tag onFocus event action. |
Input |
setOnFocus(String eventAction)
Set the input tag onFocus event action. |
Input |
setOnSubmit(boolean returnValue,
String eventAction)
Set the input tag onSubmit event action. |
Input |
setOnSubmit(String eventAction)
Set the input tag onSubmit event action. |
Input |
setReadonly()
Set the input tag readonly flag. |
Input |
setSize(int size)
Set the input (field) size. |
Input |
setType(Type type)
Set the input tag type. |
Input |
setValue(int value)
Set the input (field) value from an integer. |
Input |
setValue(String value)
Set the input (field) value from a String. |
String |
startTag()
Return a Input start tag. |
| Methods inherited from class com.jdc.gui.html.ComplexTag |
addAttribute, create, create, endTag, setFormat, setIdentifier, startTag |
| Methods inherited from class com.jdc.xml.ComplexTag |
addAttribute, getAttributes, getBody, getIdentifier, setBody, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Input()
public Input(boolean format)
| Method Detail |
public String create()
create in class ComplexTagpublic String create(String input)
create in class ComplexTagpublic String startTag()
startTag in class ComplexTagpublic String endTag()
endTag in class ComplexTagpublic Input setChecked(boolean checked)
public Input setMaxLength(int maxLength)
public Input setId(String id)
public Input setName(String name)
public Input setClass(String classname)
public Input setOnBlur(String eventAction)
public Input setOnBlur(boolean returnValue,
String eventAction)
public Input setOnClick(String eventAction)
public Input setOnClick(boolean returnValue,
String eventAction)
public Input setOnDoubleClick(String eventAction)
public Input setOnDoubleClick(boolean returnValue,
String eventAction)
public Input setOnFocus(String eventAction)
public Input setOnFocus(boolean returnValue,
String eventAction)
public Input setOnSubmit(String eventAction)
public Input setOnSubmit(boolean returnValue,
String eventAction)
public Input setReadonly()
public Input setSize(int size)
public Input setType(Type type)
public Input setValue(int value)
public Input setValue(String value)
|
2004.04.29 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||