|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.ecs.GenericElement
org.apache.ecs.ElementAttributes
org.apache.ecs.ConcreteElement
org.apache.ecs.SinglePartElement
org.apache.ecs.wml.Img
public class Img
This class creates an <img> element.
Field Summary |
---|
Fields inherited from class org.apache.ecs.GenericElement |
---|
tabLevel |
Fields inherited from interface org.apache.ecs.Attributes |
---|
NO_ATTRIBUTE_VALUE |
Fields inherited from interface org.apache.ecs.Element |
---|
CENTER, LEFT, LOWERCASE, MIXEDCASE, RIGHT, UPPERCASE |
Constructor Summary | |
---|---|
Img()
Basic constructor. |
|
Img(java.lang.String src)
Creates an Img tag |
|
Img(java.lang.String src,
java.lang.String alt)
Creates an Img tag |
Method Summary | |
---|---|
Img |
setAlignment(Alignment align)
Sets the align="" attribute |
Img |
setAlt(java.lang.String alt)
Sets the alt="" attribute |
Img |
setHeight(java.lang.String height)
Sets the height="" attribute |
Img |
setHspace(java.lang.String hspace)
Sets the hspace="" attribute |
Img |
setLocalsrc(java.lang.String localsrc)
Sets the localsrc="" attribute |
Img |
setSrc(java.lang.String src)
Sets the src="" attribute |
Img |
setVspace(java.lang.String vspace)
Sets the vspace="" 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, clone, elements, getElement, isEmpty, keys, output, output, output, output, registryHasElement, registryHasElement, removeElementFromRegistry, removeElementFromRegistry |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Img()
public Img(java.lang.String src)
src
- the SRC="" attributepublic Img(java.lang.String src, java.lang.String alt)
src
- the src="" attributealt
- the alt="" attributeMethod Detail |
---|
public Img setSrc(java.lang.String src)
src
- the src="" attributepublic Img setAlt(java.lang.String alt)
alt
- the alt="" attributepublic Img setLocalsrc(java.lang.String localsrc)
localsrc
- the localsrc="" attributepublic Img setVspace(java.lang.String vspace)
vspace
- the vspace="" attributepublic Img setHspace(java.lang.String hspace)
hspace
- the hspace="" attributepublic Img setAlignment(Alignment align)
align
- the align="" attributepublic Img setHeight(java.lang.String height)
height
- the height="" attributepublic Img setWidth(java.lang.String width)
width
- the width="" attribute
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |