|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.ecs.Element | +--org.apache.ecs.ElementAttributes | +--org.apache.ecs.ConcreteElement | +--org.apache.ecs.SinglePartElement | +--org.apache.ecs.Input
This class creates a <Input> tag.
Field Summary | |
static java.lang.String |
button
|
static java.lang.String |
BUTTON
|
static java.lang.String |
checkbox
|
static java.lang.String |
CHECKBOX
|
static java.lang.String |
file
|
static java.lang.String |
FILE
|
static java.lang.String |
hidden
|
static java.lang.String |
HIDDEN
|
static java.lang.String |
image
|
static java.lang.String |
IMAGE
|
static java.lang.String |
password
|
static java.lang.String |
PASSWORD
|
static java.lang.String |
radio
|
static java.lang.String |
RADIO
|
static java.lang.String |
reset
|
static java.lang.String |
RESET
|
static java.lang.String |
submit
|
static java.lang.String |
SUBMIT
|
static java.lang.String |
text
|
static java.lang.String |
TEXT
|
Fields inherited from class org.apache.ecs.ConcreteElement |
h_element,
v_element |
Fields inherited from class org.apache.ecs.ElementAttributes |
attribute_filter,
filter_attribute_state,
NO_ATTRIBUTE_VALUE |
Fields inherited from class org.apache.ecs.Element |
__text,
case_type,
codeset,
element,
element_type,
end_element,
end_modifier,
end_modifier_defined,
end_tag,
filter,
filter_state,
position,
resource,
start_modifier,
start_modifier_defined,
start_tag,
VERSION |
Constructor Summary | |
Input()
Basic constructor. |
|
Input(java.lang.String type,
java.lang.String name,
double value)
Basic constructor. |
|
Input(java.lang.String type,
java.lang.String name,
int value)
Basic constructor. |
|
Input(java.lang.String type,
java.lang.String name,
java.lang.String value)
Basic constructor. |
Method Summary | |
(package private) void |
Private initialization routine. |
Input |
addElement(Element element)
Adds an Element to the element. |
Input |
addElement(java.lang.String element)
Adds an Element to the element. |
Input |
addElement(java.lang.String hashcode,
Element element)
Adds an Element to the element. |
Input |
addElement(java.lang.String hashcode,
java.lang.String element)
Adds an Element to the element. |
Input |
removeElement(java.lang.String hashcode)
Removes an Element from the element. |
Input |
setAccept(java.lang.String accept)
Sets the ACCEPT="" attribute |
Input |
setAlt(java.lang.String alt)
Sets the ALT="" attribute |
Input |
setChecked(boolean checked)
Sets the checked value |
Input |
setDisabled(boolean disabled)
Sets the disabled value |
Input |
setMaxlength(int maxlength)
Sets the MAXLENGTH="" attribute |
Input |
setMaxlength(java.lang.String maxlength)
Sets the MAXLENGTH="" attribute |
Input |
setName(java.lang.String name)
Sets the NAME="" attribute |
Input |
setReadOnly(boolean readonly)
Sets the readonly value |
Input |
setSize(int size)
Sets the SIZE="" attribute |
Input |
setSize(java.lang.String size)
Sets the SIZE="" attribute |
Input |
setSrc(java.lang.String src)
Sets the SRC="" attribute |
Input |
setTabindex(int index)
Sets the TABINDEX="" attribute |
Input |
setTabindex(java.lang.String index)
Sets the TABINDEX="" attribute |
Input |
setType(java.lang.String type)
Sets the TYPE="" attribute |
Input |
setUsemap(java.lang.String usemap)
Sets the USEMAP="" attribute |
Input |
setValue(double value)
Sets the VALUE="" attribute |
Input |
setValue(int value)
Sets the VALUE="" attribute |
Input |
setValue(java.lang.String value)
Sets the VALUE="" attribute |
Methods inherited from class org.apache.ecs.ConcreteElement |
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
clone,
output,
output,
registryHasElement,
registryHasElement,
removeElementFromRegistry,
removeElementFromRegistry |
Methods inherited from class org.apache.ecs.ElementAttributes |
addAttribute,
createStartTag,
getAttributeFilter,
getAttributeFilterState,
hasAttribute,
removeAttribute,
setAttributeFilter,
setAttributeFilterState,
setClass,
setDir,
setID,
setLang,
setStyle,
setTitle |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
Field Detail |
public static final java.lang.String TEXT
public static final java.lang.String PASSWORD
public static final java.lang.String CHECKBOX
public static final java.lang.String RADIO
public static final java.lang.String FILE
public static final java.lang.String BUTTON
public static final java.lang.String IMAGE
public static final java.lang.String HIDDEN
public static final java.lang.String SUBMIT
public static final java.lang.String RESET
public static final java.lang.String text
public static final java.lang.String password
public static final java.lang.String checkbox
public static final java.lang.String radio
public static final java.lang.String file
public static final java.lang.String button
public static final java.lang.String image
public static final java.lang.String hidden
public static final java.lang.String submit
public static final java.lang.String reset
Constructor Detail |
public Input()
public Input(java.lang.String type, java.lang.String name, java.lang.String value)
public Input(java.lang.String type, java.lang.String name, int value)
public Input(java.lang.String type, java.lang.String name, double value)
Method Detail |
void()
public Input setType(java.lang.String type)
type
- the TYPE="" attributepublic Input setSrc(java.lang.String src)
src
- the SRC="" attributepublic Input setAlt(java.lang.String alt)
alt
- the ALT="" attributepublic Input setName(java.lang.String name)
name
- the NAME="" attributepublic Input setValue(java.lang.String value)
value
- the VALUE="" attributepublic Input setValue(int value)
value
- the VALUE="" attributepublic Input setValue(double value)
value
- the VALUE="" attributepublic Input setAccept(java.lang.String accept)
accept
- the ACCEPT="" attributepublic Input setSize(java.lang.String size)
size
- the SIZE="" attributepublic Input setSize(int size)
size
- the SIZE="" attributepublic Input setMaxlength(java.lang.String maxlength)
maxlength
- the MAXLENGTH="" attributepublic Input setMaxlength(int maxlength)
maxlength
- the MAXLENGTH="" attributepublic Input setUsemap(java.lang.String usemap)
usemap
- the USEMAP="" attributepublic Input setTabindex(java.lang.String index)
alt
- the TABINDEX="" attributepublic Input setTabindex(int index)
alt
- the TABINDEX="" attributepublic Input setChecked(boolean checked)
checked
- true or falsepublic Input setReadOnly(boolean readonly)
readonly
- true or falsepublic Input setDisabled(boolean disabled)
disabled
- true or falsepublic Input addElement(java.lang.String hashcode, Element element)
hashcode
- name of element for hash tableelement
- Adds an Element to the element.public Input addElement(java.lang.String hashcode, java.lang.String element)
hashcode
- name of element for hash tableelement
- Adds an Element to the element.public Input addElement(Element element)
element
- Adds an Element to the element.public Input addElement(java.lang.String element)
element
- Adds an Element to the element.public Input removeElement(java.lang.String hashcode)
hashcode
- the name of the element to be removed.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |