weblogic.html
Class TBodyElement
java.lang.Object
|
+--weblogic.html.HtmlElement
|
+--weblogic.html.ElementWithAttributes
|
+--weblogic.html.MultiPartElement
|
+--weblogic.html.TBodyElement
- public class TBodyElement
- extends MultiPartElement
- Author:
- Copyright (c) 1997 by WebLogic, Inc. All Rights Reserved.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.
Methods inherited from class weblogic.html.MultiPartElement |
addHeadMultiElement,
addMultiElement,
getMultiElementAt,
getNumElements,
printBody,
printBody,
printBody,
removeElement,
removeElementAt,
replaceElementAt,
replaceMultiElementAt,
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 weblogic.html.HtmlElement |
asAnchorElement,
asBigElement,
asBlockquoteElement,
asBoldElement,
asCenteredElement,
asCiteElement,
asCodeElement,
asCommentElement,
asDefineTermElement,
asEmphasisElement,
asFontElement,
asFontElement,
asFontElement,
asHtmlContainer,
asItalicElement,
asKeyboardElement,
asLiteralElement,
asParagraphElement,
asSampleElement,
asSmallElement,
asStrikeElement,
asStrongElement,
asSubscriptElement,
asSuperscriptElement,
asTeletypeElement,
asUnderlineElement,
asVariableElement,
getVersion,
setAnchorMode,
setCodeset,
toString,
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
TBodyElement
public TBodyElement()
getHtmlCode
protected java.lang.String getHtmlCode()
- Overrides:
- getHtmlCode in class ElementWithAttributes
printCR
protected boolean printCR()
- Overrides:
- printCR in class ElementWithAttributes
setAlign
public TBodyElement setAlign(AlignType align)
- Sets the ALIGN attribute for a TBodyElement.
Valid AlignType variables for this are left, right,
or center.
- Parameters:
align
- AlignType: left, right, center
setVAlign
public TBodyElement setVAlign(AlignType align)
- Sets the vertical alignment for a ColGroupElement.
- Parameters:
align
- AlignType: top, middle, bottom, baseline
setCharAlign
public TBodyElement setCharAlign(java.lang.String chr)
- Sets the ALIGN attribute for a ColGroupElement to
"char", and sets the character for alignment as
specified. This attribute specifies the offset in the
table column to the first occurrence of the alignment
character on each line, and in the absence of such a
character, the table contents are horizontally shifted
to end at the alignment position.
setCharOffset
public TBodyElement setCharOffset(int offset)
- Sets the offset of an alignment character.
The margin from which the offset is measured is determined
by the direction of text, set by the DIR attribute.
setCharOffset
public TBodyElement setCharOffset(java.lang.String chr,
int offset)
- Sets the offset of the specified alignment character on each
line. The margin from which the offset is measured is determined
by the direction of text, set by the DIR attribute.
addElement
public TBodyElement addElement(TableRowElement tre)