BEA Systems, Inc.

WebLogic Server 5.1.0 API Reference

weblogic.html
Class DefinitionList

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

public class DefinitionList
extends MultiPartElement

A DefinitionList object is a list of terms and definitions. Build a DefinitionList object by adding DefinitionItems to it. The DefinitionItems in a DefinitionList are accessible by index position.

Author:
Copyright (c) 1995-97, WebLogic, Inc. All Rights Reserved.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.
See Also:
DefinitionItem

Fields inherited from class weblogic.html.HtmlElement
codeset, useObsolete
 
Constructor Summary
DefinitionList()
           
 
Method Summary
 DefinitionList addElement(DefinitionItem val)
          Adds a DefinitionItem to a DefinitionList.
 DefinitionItem getElementAt(int pos)
          Gets the DefinitionItem at the specified index in the DefinitionList.
protected  java.lang.String getHtmlCode()
           
 DefinitionList setCompact(boolean val)
          Sets the COMPACT attribute for the list.
 
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

DefinitionList

public DefinitionList()
Method Detail

addElement

public DefinitionList addElement(DefinitionItem val)
Adds a DefinitionItem to a DefinitionList.

Parameters:
val - Term and definition
Returns:
DefinitionList object

getElementAt

public DefinitionItem getElementAt(int pos)
Gets the DefinitionItem at the specified index in the DefinitionList.

Parameters:
pos - Index position
Returns:
DefinitionItem object

setCompact

public DefinitionList setCompact(boolean val)
Sets the COMPACT attribute for the list.

Parameters:
val - True to set list attribute to COMPACT
Returns:
DefinitionList object

getHtmlCode

protected java.lang.String getHtmlCode()

Overrides:
getHtmlCode in class ElementWithAttributes

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