|
|||||||||
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.SinglePartElement | +--org.apache.ecs.html.Area
This class creates a <Area> tag.
Field Summary | |
static java.lang.String |
circle
|
static java.lang.String |
CIRCLE
|
static java.lang.String |
DEFAULT
|
static java.lang.String |
poly
|
static java.lang.String |
POLY
|
static java.lang.String |
rect
|
static java.lang.String |
RECT
|
Fields inherited from class org.apache.ecs.ConcreteElement |
h_element,
v_element |
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,
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 |
Constructor Summary | |
Area()
Basic constructor. |
|
Area(java.lang.String shape)
Use the set* methods to set the values of the attributes. |
|
Area(java.lang.String shape,
int[] coords)
Use the set* methods to set the values of the attributes. |
|
Area(java.lang.String shape,
int[] coords,
java.lang.String href)
Use the set* methods to set the values of the attributes. |
|
Area(java.lang.String shape,
java.lang.String coords)
Use the set* methods to set the values of the attributes. |
|
Area(java.lang.String shape,
java.lang.String coords,
java.lang.String href)
Use the set* methods to set the values of the attributes. |
Method Summary | |
(package private) void |
Private initialization routine. |
Area |
addElement(Element element)
Add an element to the element |
Area |
addElement(java.lang.String element)
Add an element to the element |
Area |
addElement(java.lang.String hashcode,
Element element)
Adds an Element to the element. |
Area |
addElement(java.lang.String hashcode,
java.lang.String element)
Adds an Element to the element. |
Area |
removeElement(java.lang.String hashcode)
Removes an Element from the element. |
Area |
setAlt(java.lang.String alt)
Sets the ALT="" attribute |
Area |
setCoords(int[] coords)
Sets the COORDS="" attribute |
Area |
setCoords(java.lang.String coords)
Sets the COORDS="" attribute |
Area |
setHref(java.lang.String href)
Sets the HREF="" attribute |
Area |
setNoHref(boolean href)
Sets the nohref |
Area |
setShape(java.lang.String shape)
Sets the SHAPE="" attribute |
Area |
setTabindex(int index)
Sets the TABINDEX="" attribute |
Area |
setTabindex(java.lang.String index)
Sets the TABINDEX="" attribute |
Methods inherited from class org.apache.ecs.ConcreteElement |
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
addElementToRegistry,
clone,
elements,
output,
output,
registryHasElement,
registryHasElement,
removeElementFromRegistry,
removeElementFromRegistry |
Methods inherited from class org.apache.ecs.ElementAttributes |
addAttribute,
createStartTag,
getAttributeEqualitySign,
getAttributeFilter,
getAttributeFilterState,
getAttributeQuote,
getAttributeQuoteChar,
hasAttribute,
removeAttribute,
setAttributeEqualitySign,
setAttributeFilter,
setAttributeFilterState,
setAttributeQuote,
setAttributeQuoteChar,
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 DEFAULT
public static final java.lang.String RECT
public static final java.lang.String CIRCLE
public static final java.lang.String POLY
public static final java.lang.String rect
public static final java.lang.String circle
public static final java.lang.String poly
Constructor Detail |
public Area()
public Area(java.lang.String shape)
shape
- the SHAPE="" attributepublic Area(java.lang.String shape, java.lang.String coords)
shape
- the SHAPE="" attributecoords
- the COORDS="" attributepublic Area(java.lang.String shape, int[] coords)
shape
- the SHAPE="" attributecoords
- the COORDS="" attributepublic Area(java.lang.String shape, java.lang.String coords, java.lang.String href)
shape
- the SHAPE="" attributecoords
- the COORDS="" attributehref
- the HREF="" attributepublic Area(java.lang.String shape, int[] coords, java.lang.String href)
shape
- the SHAPE="" attributecoords
- the COORDS="" attributehref
- the HREF="" attributeMethod Detail |
void()
public Area setShape(java.lang.String shape)
shape
- the SHAPE="" attributepublic Area setCoords(java.lang.String coords)
coords
- the COORDS="" attributepublic Area setCoords(int[] coords)
coords
- the COORDS="" attributepublic Area setHref(java.lang.String href)
href
- the HREF="" attributepublic Area setAlt(java.lang.String alt)
alt
- the ALT="" attributepublic Area setTabindex(java.lang.String index)
alt
- the TABINDEX="" attributepublic Area setTabindex(int index)
alt
- the TABINDEX="" attributepublic Area setNoHref(boolean href)
href
- true or falsepublic Area addElement(java.lang.String hashcode, Element element)
hashcode
- name of element for hash tableelement
- Adds an Element to the element.public Area addElement(java.lang.String hashcode, java.lang.String element)
hashcode
- name of element for hash tableelement
- Adds an Element to the element.public Area addElement(java.lang.String element)
element
- a string representation of the elementpublic Area addElement(Element element)
element
- an element to addpublic Area 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 |