|
||||||||
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.MultiPartElement | +--org.apache.ecs.TD
This class creates a <TD> object.
Fields inherited from class org.apache.ecs.MultiPartElement |
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 |
Fields inherited from class org.apache.ecs.Element |
case_type,
codeset,
element,
end_element,
filter,
filter_state,
position,
VERSION |
Constructor Summary | |
TD()
Basic Constructor use set* methods. |
|
TD(boolean close)
Basic Constructor use set* methods. |
Method Summary | |
(package private) void |
private initializer. |
TD |
addElement(Element element)
Adds an Element to the element. |
TD |
addElement(java.lang.String element)
Adds an Element to the element. |
TD |
setAbbr(java.lang.String cdata)
Sets the ABBR="" attribute. |
TD |
setAlign(java.lang.String align)
Sets the ALIGN="" attribute convience variables are provided in the AlignType interface |
TD |
setAxes(java.lang.String id_refs)
Sets the AXES="" attribute |
TD |
setAxis(java.lang.String cdata)
Sets the AXIS="" attribute |
TD |
setBackground(java.lang.String url)
Sets the BACKGROUND="" attribute |
TD |
setBgColor(java.lang.String color)
Sets the BGCOLOR="" attribute |
TD |
setChar(java.lang.String character)
Sets the CHAR="" attribute. |
TD |
setCharOff(int char_off)
Sets the CHAROFF="" attribute. |
TD |
setCharOff(java.lang.String char_off)
Sets the CHAROFF="" attribute. |
TD |
setColSpan(int colspan)
Sets the COLSPAN="" attribute |
TD |
setColSpan(java.lang.String colspan)
Sets the COLSPAN="" attribute |
TD |
setHeight(int height)
Supplies user agents with a recommended cell height. |
TD |
setHeight(java.lang.String height)
Supplies user agents with a recommended cell height. |
TD |
setNoWrap(boolean wrap)
Sets word wrap on or off. |
TD |
setRowSpan(int rowspan)
Sets the ROWSPAN="" attribute |
TD |
setRowSpan(java.lang.String rowspan)
Sets the ROWSPAN="" attribute |
TD |
setVAlign(java.lang.String valign)
Sets the VALIGN="" attribute convience variables are provided in the AlignType interface |
TD |
setWidth(int width)
Supplies user agents with a recommended cell width. |
TD |
setWidth(java.lang.String width)
Supplies user agents with a recommended cell width. |
Methods inherited from class org.apache.ecs.MultiPartElement |
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 |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
wait,
wait,
wait |
Constructor Detail |
public TD()
public TD(boolean close)
close.
- Print the closing tag or not.Method Detail |
void()
public TD setAbbr(java.lang.String cdata)
cdata
- sets the ABBR="" attribute.public TD setAxis(java.lang.String cdata)
cdata
- sets the AXIS="" attributepublic TD setAxes(java.lang.String id_refs)
id_refs
- list of id's for header cellspublic TD setRowSpan(int rowspan)
rowspan
- Number of rows spaned by cellpublic TD setRowSpan(java.lang.String rowspan)
rowspan
- Number of rows spaned by cellpublic TD setColSpan(int colspan)
colspan
- Number of columns spanned by cellpublic TD setColSpan(java.lang.String colspan)
colspan
- Number of columns spanned by cellpublic TD setNoWrap(boolean wrap)
wrap
- turn word wrap on or off.public TD setWidth(int width)
width
- how many pixels to make cellpublic TD setWidth(java.lang.String width)
width
- how many pixels to make cellpublic TD setHeight(int height)
height
- how many pixels to make cellpublic TD setHeight(java.lang.String height)
height
- how many pixels to make cellpublic TD setAlign(java.lang.String align)
align
- Sets the ALIGN="" attributepublic TD setVAlign(java.lang.String valign)
valign
- Sets the ALIGN="" attributepublic TD setChar(java.lang.String character)
character
- the character to use for alignment.public TD setCharOff(int char_off)
char_off
- When present this attribute specifies the offset
of the first occurrence of the alignment character on each line.public TD setCharOff(java.lang.String char_off)
char_off
- When present this attribute specifies the offset
of the first occurrence of the alignment character on each line.public TD setBgColor(java.lang.String color)
color
- sets the background color of the cell.public TD setBackground(java.lang.String url)
url
- sets the background to some image specified by url.public TD addElement(Element element)
element
- Adds an Element to the element.public TD addElement(java.lang.String element)
element
- Adds an Element to the element.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |