|
||||||||
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.TH
This class creates a <TH> 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 | |
TH()
Basic constructor. |
|
TH(boolean close)
Basic Constructor use set* methods. |
Method Summary | |
(package private) void |
private initializer. |
TH |
addElement(Element element)
Adds an Element to the element. |
TH |
addElement(java.lang.String element)
Adds an Element to the element. |
TH |
setAbbr(java.lang.String cdata)
Sets the ABBR="" attribute. |
TH |
setAlign(java.lang.String align)
Sets the ALIGN="" attribute convience variables are provided in the AlignType interface |
TH |
setAxes(java.lang.String id_refs)
Sets the AXES="" attribute |
TH |
setAxis(java.lang.String cdata)
Sets the AXIS="" attribute |
TH |
setBgColor(java.lang.String color)
Sets the BGCOLOR="" attribute |
TH |
setChar(java.lang.String character)
Sets the CHAR="" attribute. |
TH |
setCharOff(int char_off)
Sets the CHAROFF="" attribute. |
TH |
setCharOff(java.lang.String char_off)
Sets the CHAROFF="" attribute. |
TH |
setColSpan(int span)
Sets the COLSPAN="" attribute |
TH |
setColSpan(java.lang.String span)
Sets the COLSPAN="" attribute |
TH |
setHeight(int height)
Supplies user agents with a recommended cell height. |
TH |
setHeight(java.lang.String height)
Supplies user agents with a recommended cell height. |
TH |
setNoWrap(boolean wrap)
Sets word wrap on or off. |
TH |
setRowSpan(int span)
Sets the ROWSPAN="" attribute |
TH |
setRowSpan(java.lang.String span)
Sets the ROWSPAN="" attribute |
TH |
setVAlign(java.lang.String valign)
Sets the VALIGN="" attribute convience variables are provided in the AlignType interface |
TH |
setWidth(int width)
Supplies user agents with a recommended cell width. |
TH |
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 TH()
public TH(boolean close)
close.
- Print the closing tag or not.Method Detail |
void()
public TH setAbbr(java.lang.String cdata)
cdata
- sets the ABBR="" attribute.public TH setAxis(java.lang.String cdata)
cdata
- sets the AXIS="" attributepublic TH setAxes(java.lang.String id_refs)
id_refs
- list of id's for header cellspublic TH setRowSpan(int span)
span
- Number of rows spaned by cellpublic TH setRowSpan(java.lang.String span)
span
- Number of rows spaned by cellpublic TH setColSpan(int span)
span
- Number of columns spanned by cellpublic TH setColSpan(java.lang.String span)
span
- Number of columns spanned by cellpublic TH setNoWrap(boolean wrap)
wrap
- turn word wrap on or off.public TH setWidth(int width)
width
- how many pixels to make cellpublic TH setWidth(java.lang.String width)
width
- how many pixels to make cellpublic TH setHeight(int height)
height
- how many pixels to make cellpublic TH setHeight(java.lang.String height)
height
- how many pixels to make cellpublic TH setAlign(java.lang.String align)
align
- Sets the ALIGN="" attributepublic TH setVAlign(java.lang.String valign)
valign
- Sets the ALIGN="" attributepublic TH setChar(java.lang.String character)
character
- the character to use for alignment.public TH 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 TH 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 TH setBgColor(java.lang.String color)
color
- sets the background color of the cell.public TH addElement(Element element)
element
- Adds an Element to the element.public TH 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 |