|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.ecs.GenericElement | +--org.apache.ecs.ElementAttributes | +--org.apache.ecs.ConcreteElement | +--org.apache.ecs.MultiPartElement | +--org.apache.ecs.html.ObjectElement
This class creates an ObjectElement
Fields inherited from class org.apache.ecs.ConcreteElement |
lineSeparator, registry, registryList |
Fields inherited from class org.apache.ecs.ElementAttributes |
attribute_equality_sign, attribute_filter, attribute_quote, attribute_quote_char, filter_attribute_state |
Fields inherited from class org.apache.ecs.GenericElement |
__text, _defaultFilter, begin_end_modifier, begin_end_modifier_defined, begin_start_modifier, begin_start_modifier_defined, case_type, codeset, element, element_type, end_element, end_end_modifier, end_end_modifier_defined, end_modifier_defined, end_start_modifier, end_start_modifier_defined, end_tag, filter, filter_state, position, pretty_print, start_modifier_defined, start_tag, tabLevel, VERSION |
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 | |
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. |
void |
setOnClick(java.lang.String script)
The onclick event occurs when the pointing device button is clicked over an element. |
void |
setOnDblClick(java.lang.String script)
The ondblclick event occurs when the pointing device button is double clicked over an element. |
void |
setOnKeyDown(java.lang.String script)
The onkeydown event occurs when a key is pressed down over an element. |
void |
setOnKeyPress(java.lang.String script)
The onkeypress event occurs when a key is pressed and released over an element. |
void |
setOnKeyUp(java.lang.String script)
The onkeyup event occurs when a key is released over an element. |
void |
setOnMouseDown(java.lang.String script)
The onmousedown event occurs when the pointing device button is pressed over an element. |
void |
setOnMouseMove(java.lang.String script)
The onmousemove event occurs when the pointing device is moved while it is over an element. |
void |
setOnMouseOut(java.lang.String script)
The onmouseout event occurs when the pointing device is moved away from an element. |
void |
setOnMouseOver(java.lang.String script)
The onmouseover event occurs when the pointing device is moved onto an element. |
void |
setOnMouseUp(java.lang.String script)
The onmouseup event occurs when the pointing device button is released over an element. |
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, 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, registerNatives, wait, wait, wait |
Constructor Detail |
public ObjectElement()
Method Detail |
void()
in class MultiPartElement
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.public void setOnClick(java.lang.String script)
setOnClick
in interface MouseEvents
The
- scriptpublic void setOnDblClick(java.lang.String script)
setOnDblClick
in interface MouseEvents
The
- scriptpublic void setOnMouseDown(java.lang.String script)
setOnMouseDown
in interface MouseEvents
The
- scriptpublic void setOnMouseUp(java.lang.String script)
setOnMouseUp
in interface MouseEvents
The
- scriptpublic void setOnMouseOver(java.lang.String script)
setOnMouseOver
in interface MouseEvents
The
- scriptpublic void setOnMouseMove(java.lang.String script)
setOnMouseMove
in interface MouseEvents
The
- scriptpublic void setOnMouseOut(java.lang.String script)
setOnMouseOut
in interface MouseEvents
The
- scriptpublic void setOnKeyPress(java.lang.String script)
setOnKeyPress
in interface KeyEvents
The
- scriptpublic void setOnKeyDown(java.lang.String script)
setOnKeyDown
in interface KeyEvents
The
- scriptpublic void setOnKeyUp(java.lang.String script)
setOnKeyUp
in interface KeyEvents
The
- script
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |