BEA Systems, Inc.

WebLogic Server 5.1.0 API Reference

weblogic.html
Class THeadElement

java.lang.Object
  |
  +--weblogic.html.HtmlElement
        |
        +--weblogic.html.ElementWithAttributes
              |
              +--weblogic.html.MultiPartElement
                    |
                    +--weblogic.html.THeadElement

public class THeadElement
extends MultiPartElement

Author:
Copyright (c) 1997 by WebLogic, Inc. All Rights Reserved.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.

Fields inherited from class weblogic.html.HtmlElement
codeset, useObsolete
 
Constructor Summary
THeadElement()
           
 
Method Summary
 THeadElement addElement(TableRowElement tre)
           
protected  java.lang.String getHtmlCode()
           
protected  THeadElement setAlign(AlignType align)
          Sets the ALIGN attribute for a THeadElement.
 THeadElement setCharAlign(java.lang.String chr)
          Sets the ALIGN attribute for a ColGroupElement to "char", and sets the character for alignment as specified.
 THeadElement setCharOffset(int offset)
          Sets the offset of an alignment character.
 THeadElement setCharOffset(java.lang.String chr, int offset)
          Sets the offset of the specified alignment character on each line.
 THeadElement setVAlign(AlignType align)
          Sets the vertical alignment for a ColGroupElement.
 
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, printCR, 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
 

Constructor Detail

THeadElement

public THeadElement()
Method Detail

getHtmlCode

protected java.lang.String getHtmlCode()

Overrides:
getHtmlCode in class ElementWithAttributes

setAlign

protected THeadElement setAlign(AlignType align)
Sets the ALIGN attribute for a THeadElement. Valid AlignType variables for this are left, right, or center.

Parameters:
align - AlignType: left, right, center

setVAlign

public THeadElement setVAlign(AlignType align)
Sets the vertical alignment for a ColGroupElement.

Parameters:
align - AlignType: top, middle, bottom, baseline

setCharAlign

public THeadElement 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 THeadElement 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 THeadElement 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 THeadElement addElement(TableRowElement tre)

Documentation is available at
http://www.weblogic.com/docs51