|
||||||||
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.MultiPartElement | +--org.apache.ecs.ObjectElement
This class creates an ObjectElement
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 | |
ObjectElement()
Default constructor. |
Method Summary | |
(package private) void |
Private initializer. |
ObjectElement |
addElement(Element element)
Add an element to the element |
ObjectElement |
addElement(java.lang.String element)
Add an element to the element |
ObjectElement |
addElement(java.lang.String hashcode,
Element element)
Adds an Element to the element. |
ObjectElement |
addElement(java.lang.String hashcode,
java.lang.String element)
Adds an Element to the element. |
ObjectElement |
removeElement(java.lang.String hashcode)
Removes an Element from the element. |
ObjectElement |
setAlign(java.lang.String alignment)
Set the horizontal or vertical alignment of this object. Convience variables are in the AlignTypes interface. |
ObjectElement |
setArchive(java.lang.String url)
Space seperated archive list. |
ObjectElement |
setBorder(double border)
Suggested link border width. |
ObjectElement |
setBorder(int border)
Suggested link border width. |
ObjectElement |
setBorder(java.lang.String border)
Suggested link border width. |
ObjectElement |
setClassId(java.lang.String url)
Identifies an implementation. |
ObjectElement |
setCodeBase(java.lang.String url)
Determines the base path to resolve relative urls specified by classid. |
ObjectElement |
setCodeType(java.lang.String codetype)
Sets the Internet content type for the code. |
ObjectElement |
setData(java.lang.String url)
This attribute specifies the location of the data to be rendered. |
ObjectElement |
setDeclare(boolean declare)
Sets the declare attribute. |
ObjectElement |
setHeight(double height)
Suggested height of object. |
ObjectElement |
setHeight(int height)
Suggested height of object. |
ObjectElement |
setHeight(java.lang.String height)
Suggested height of object. |
ObjectElement |
setHSpace(double hspace)
Suggested horizontal gutter. |
ObjectElement |
setHSpace(int hspace)
Suggested horizontal gutter. |
ObjectElement |
setHSpace(java.lang.String hspace)
Suggested horizontal gutter. |
ObjectElement |
setName(java.lang.String name)
Set the name of this object. |
ObjectElement |
setShapes(boolean shape)
Object has shaped hypertext links. |
ObjectElement |
setStandBy(java.lang.String cdata)
Message to show while the object is loading. |
ObjectElement |
setTabIndex(int number)
Set the elements position in the tabbing order. |
ObjectElement |
setTabIndex(java.lang.String number)
Set the elements position in the tabbing order. |
ObjectElement |
setType(java.lang.String type)
This attribute specifies the Internet Media Type for the data specified by data. This should be a mime type. |
ObjectElement |
setUseMap(java.lang.String url)
Location of image map to use. |
ObjectElement |
setVSpace(double vspace)
Suggested vertical gutter. |
ObjectElement |
setVSpace(int vspace)
Suggested vertical gutter. |
ObjectElement |
setVSpace(java.lang.String vspace)
Suggested vertical gutter. |
ObjectElement |
setWidth(double width)
Suggested width of object. |
ObjectElement |
setWidth(int width)
Suggested width of object. |
ObjectElement |
setWidth(java.lang.String width)
Suggested width of object. |
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 |
Constructor Detail |
public ObjectElement()
Method Detail |
void()
public ObjectElement setDeclare(boolean declare)
declare
- declare on or offpublic ObjectElement setClassId(java.lang.String url)
url
- location of classid.public ObjectElement setCodeType(java.lang.String codetype)
codetype
- Sets the Internet content type for the code.public ObjectElement setCodeBase(java.lang.String url)
url
- base path to resolve relative urls specified by classid.public ObjectElement setData(java.lang.String url)
url
- this attribute specifies the location of the data to be rendered.public ObjectElement setType(java.lang.String type)
type
- a mime type for the data specifed by the data attribute.public ObjectElement setArchive(java.lang.String url)
url
- Space seperate archive list.public ObjectElement setStandBy(java.lang.String cdata)
cdata
- the message to show while the object is loading.public ObjectElement setBorder(java.lang.String border)
border
- suggested link border width.public ObjectElement setBorder(int border)
border
- suggested link border width.public ObjectElement setBorder(double border)
border
- suggested link border width.public ObjectElement setHeight(java.lang.String height)
height
- suggested link height.public ObjectElement setHeight(int height)
height
- suggested link height.public ObjectElement setHeight(double height)
height
- suggested link height.public ObjectElement setWidth(java.lang.String width)
height
- suggested link width.public ObjectElement setWidth(int width)
height
- suggested link width.public ObjectElement setWidth(double width)
height
- suggested link width.public ObjectElement setHSpace(java.lang.String hspace)
hspace
- suggested horizontal gutter.public ObjectElement setHSpace(int hspace)
hspace
- suggested horizontal gutter.public ObjectElement setHSpace(double hspace)
hspace
- suggested horizontal gutter.public ObjectElement setVSpace(java.lang.String vspace)
hspace
- suggested vertical gutter.public ObjectElement setVSpace(int vspace)
hspace
- suggested vertical gutter.public ObjectElement setVSpace(double vspace)
hspace
- suggested vertical gutter.public ObjectElement setAlign(java.lang.String alignment)
alignment
- Set the horizontal or vertical alignment of this object.public ObjectElement setUseMap(java.lang.String url)
url
- location of image map to use.public ObjectElement setShapes(boolean shape)
shape
- does the object have shaped hypertext links?public ObjectElement setName(java.lang.String name)
name
- set the name of this object.public ObjectElement setTabIndex(int number)
number
- set the elements position in the tabbing order.public ObjectElement setTabIndex(java.lang.String number)
number
- set the elements position in the tabbing order.public ObjectElement addElement(java.lang.String hashcode, Element element)
hashcode
- name of element for hash tableelement
- Adds an Element to the element.public ObjectElement addElement(java.lang.String hashcode, java.lang.String element)
hashcode
- name of element for hash tableelement
- Adds an Element to the element.public ObjectElement addElement(java.lang.String element)
element
- a string representation of the elementpublic ObjectElement addElement(Element element)
element
- an element to addpublic ObjectElement 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 |