|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--weblogic.html.HtmlElement
|
+--weblogic.html.ElementWithAttributes
|
+--weblogic.html.SinglePartElement
|
+--weblogic.html.TableCaptionElement
A TableCaptionElement object is used to set the caption and its attributes for an htmlKona TableElement. Set alignment with an AlignType object. Use the TableElement.addElement() or the TableElement.setCaption() methods to add a TableCaptionElement to a TableElement. Here is an example:
TableElement tab = new TableElement()
.setBorder(1)
.setCellPadding(5)
.setWidth(50%)
.setCaption(new StrongElement("Fall Registration Schedule")
.asAnchorElement("sched"));
TableElement| Field Summary | |
static AlignType |
default_align
Deprecated. Default alignment for a TableCaptionElement is unset. |
| Fields inherited from class weblogic.html.HtmlElement |
codeset,
useObsolete |
| Constructor Summary | |
TableCaptionElement()
Deprecated. Constructs a TableCaptionElement. |
|
TableCaptionElement(HtmlElement elem)
Deprecated. Constructs a TableCaptionElement with the specified HtmlElement. |
|
TableCaptionElement(java.lang.String caption)
Deprecated. Constructs a TableCaptionElement with the specified String and sets the default alignment. |
|
| Method Summary | |
protected java.lang.String |
getHtmlCode()
Deprecated. |
protected boolean |
printCR()
Deprecated. |
TableCaptionElement |
setAlign(AlignType val)
Deprecated. Sets the alignment for a TableCaptionElement to the specified AlignType. |
| Methods inherited from class weblogic.html.SinglePartElement |
getElement,
printBody,
printBody,
printBody,
setElement,
setElement,
widthAsLiteral |
| Methods inherited from class weblogic.html.ElementWithAttributes |
addAttribute,
addAttribute,
escapeQuotes,
getBooleanAttribute,
getElementAttribute,
getLocalVar,
getQuotedAttribute,
output,
output,
output,
printBody,
printEndingTag,
setBooleanAttribute,
setBooleanAttribute,
setClass,
setDirection,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setElementAttribute,
setId,
setLang,
setLocalVar,
setQuotedAttribute,
setStyle |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Field Detail |
public static AlignType default_align
| Constructor Detail |
public TableCaptionElement()
public TableCaptionElement(HtmlElement elem)
elem - HtmlElement objectpublic TableCaptionElement(java.lang.String caption)
caption - String object| Method Detail |
protected java.lang.String getHtmlCode()
protected boolean printCR()
public TableCaptionElement setAlign(AlignType val)
val - AlignType object
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs61 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||