weblogic.html
Class UnorderedList
java.lang.Object
|
+--weblogic.html.HtmlElement
|
+--weblogic.html.ElementWithAttributes
|
+--weblogic.html.MultiPartElement
|
+--weblogic.html.ListElement
|
+--weblogic.html.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.
- Version:
- 2.1
- Author:
- 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. |
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.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 |
disc
public static final java.lang.String disc
- Constant for a disc-type bullet.
circle
public static final java.lang.String circle
- Constant for a solid circle-type bullet.
square
public static final java.lang.String square
- Constant for a solid square-type bullet.
UnorderedList
public UnorderedList()
setType
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.
- Parameters:
val
- Type of bullet
getHtmlCode
protected java.lang.String getHtmlCode()
- Overrides:
- getHtmlCode in class ElementWithAttributes
printCR
protected boolean printCR()
- Overrides:
- printCR in class ElementWithAttributes