|
||||||||
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.IMG
This class creates an <IMG> tag.
Fields inherited from class org.apache.ecs.ConcreteElement |
h_element,
v_element |
Fields inherited from class org.apache.ecs.ElementAttributes |
attribute_filter,
end_modifier,
end_modifier_defined,
filter_attribute_state,
NO_ATTRIBUTE_VALUE,
start_modifier,
start_modifier_defined,
TAG,
TEXT |
Fields inherited from class org.apache.ecs.Element |
case_type,
codeset,
element,
end_element,
filter,
filter_state,
position,
VERSION |
Constructor Summary | |
IMG()
Basic constructor. |
|
IMG(java.lang.String src)
Creates an IMG tag |
|
IMG(java.lang.String src,
int border)
Creates an IMG tag |
|
IMG(java.lang.String src,
java.lang.String name)
Creates an IMG tag |
|
IMG(java.lang.String src,
java.lang.String name,
int border)
Creates an IMG tag |
Method Summary | |
(package private) void |
Private initialization routine. |
IMG |
addElement(Element element)
Adds an Element to the element. |
IMG |
addElement(java.lang.String element)
Adds an Element to the element. |
IMG |
removeElement(java.lang.String hashcode)
Removes an Element from the element. |
IMG |
setAlign(java.lang.String align)
Sets the ALIGN="" attribute |
IMG |
setAlt(java.lang.String alt)
Sets the ALT="" attribute |
IMG |
setBorder(int border)
Sets the BORDER="" attribute |
IMG |
setHeight(int height)
Sets the HEIGHT="" attribute |
IMG |
setHeight(java.lang.String height)
Sets the HEIGHT="" attribute |
IMG |
setHspace(int hspace)
Sets the HSPACE="" attribute |
IMG |
setHspace(java.lang.String hspace)
Sets the HSPACE="" attribute |
IMG |
setIsMap(boolean ismap)
Sets the ISMAP attribute |
IMG |
setName(java.lang.String name)
Sets the NAME="" attribute |
IMG |
setSrc(java.lang.String src)
Sets the SRC="" attribute |
IMG |
setUseMap(java.lang.String usemap)
Sets the USMAP="" attribute |
IMG |
setVspace(int vspace)
Sets the VSPACE="" attribute |
IMG |
setVspace(java.lang.String vspace)
Sets the VSPACE="" attribute |
IMG |
setWidth(int width)
Sets the WIDTH="" attribute |
IMG |
setWidth(java.lang.String width)
Sets the WIDTH="" attribute |
Methods inherited from class org.apache.ecs.ConcreteElement |
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
output,
output,
registryHasElement,
registryHasElement,
removeElementFromRegistry,
removeElementFromRegistry |
Methods inherited from class org.apache.ecs.Element |
alterCase,
getCase,
getCodeSet,
getElementHashEntry,
getElementType,
getFilter,
getFilterState,
getNeedClosingTag,
getTagPosition,
getVersion,
setCase,
setCodeSet,
setElementType,
setFilter,
setFilterState,
setNeedClosingTag,
setTagPosition,
toString,
toString |
Methods inherited from class java.lang.Object |
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
Constructor Detail |
public IMG()
public IMG(java.lang.String src)
src
- the SRC="" attributepublic IMG(java.lang.String src, int border)
src
- the SRC="" attributeborder
- the BORDER="" attributepublic IMG(java.lang.String src, java.lang.String name)
src
- the SRC="" attributename
- the NAME="" attributepublic IMG(java.lang.String src, java.lang.String name, int border)
src
- the SRC="" attributename
- the NAME="" attributeborder
- the BORDER="" attributeMethod Detail |
void()
public IMG setSrc(java.lang.String src)
src
- the SRC="" attributepublic IMG setBorder(int border)
border
- the BORDER="" attributepublic IMG setName(java.lang.String name)
name
- the NAME="" attributepublic IMG setHeight(java.lang.String height)
height
- the HEIGHT="" attributepublic IMG setHeight(int height)
height
- the HEIGHT="" attributepublic IMG setWidth(java.lang.String width)
width
- the WIDTH="" attributepublic IMG setWidth(int width)
width
- the WIDTH="" attributepublic IMG setAlt(java.lang.String alt)
alt
- the ALT="" attributepublic IMG setIsMap(boolean ismap)
ismap
- the ISMAP attributepublic IMG setUseMap(java.lang.String usemap)
usemap
- the USMAP="" attributepublic IMG setAlign(java.lang.String align)
align
- the ALIGN="" attributepublic IMG setHspace(java.lang.String hspace)
hspace
- the HSPACE="" attributepublic IMG setHspace(int hspace)
hspace
- the HSPACE="" attributepublic IMG setVspace(java.lang.String vspace)
vspace
- the VSPACE="" attributepublic IMG setVspace(int vspace)
vspace
- the VSPACE="" attributepublic IMG addElement(Element element)
element
- Adds an Element to the element.public IMG addElement(java.lang.String element)
element
- Adds an Element to the element.public IMG 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 |