BEA Systems, Inc.

WebLogic Server 5.1.0 API Reference

Class UnorderedList


public class UnorderedList
extends ListElement

An UnorderedList object (a type of ListElement) is used to create a bulleted list on an htmlKona page. Build the UnorderedList by adding ListItems to it with the addElement() method. Use the setType() method to set the style for bullets in the list.

Copyright (c) 1995-96, WebLogic, Inc.
Copyright © 2000 BEA Systems, Inc. All Rights Reserved.
See Also:
ListElement, ListItem

Field Summary
static java.lang.String circle
          Constant for a solid circle-type bullet.
static java.lang.String disc
          Constant for a disc-type bullet.
static java.lang.String square
          Constant for a solid square-type bullet.
Fields inherited from class weblogic.html.HtmlElement
codeset, useObsolete
Constructor Summary
Method Summary
protected  java.lang.String getHtmlCode()
protected  boolean printCR()
 UnorderedList setType(java.lang.String type)
          Sets the style for bullets in an unordered list, which override the default assortment of disc, circle, and square with a single bullet style.
Methods inherited from class weblogic.html.ListElement
addElement, addElement, addElement, getElementAt, setCompact
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

Field Detail


public static final java.lang.String disc
Constant for a disc-type bullet.


public static final java.lang.String circle
Constant for a solid circle-type bullet.


public static final java.lang.String square
Constant for a solid square-type bullet.
Constructor Detail


public UnorderedList()
Method Detail


public UnorderedList setType(java.lang.String type)
Sets the style for bullets in an unordered list, which override the default assortment of disc, circle, and square with a single bullet style. You can use the public final static variables that are supplied with this class, or a quoted string value.

Note that not all browsers implement this attribute.

val - Type of bullet


protected java.lang.String getHtmlCode()

getHtmlCode in class ElementWithAttributes


protected boolean printCR()

printCR in class ElementWithAttributes

Documentation is available at