org.mortbay.html
Class List
java.lang.Object
org.mortbay.html.Element
org.mortbay.html.Composite
org.mortbay.html.Block
org.mortbay.html.List
public class List
- extends Block
HTML List Block.
Each Element added to the List (which is a Composite) is treated
as a new List Item.
- See Also:
Block
Fields inherited from class org.mortbay.html.Block |
Bold, Center, Div, Italic, Left, Listing, Plain, Pre, Quote, Right, Span, Xmp |
Fields inherited from class org.mortbay.html.Element |
ALIGN, attributeMap, BGCOLOR, BOTTOM, CENTER, CLASS, COLOR, HEIGHT, ID, LEFT, MIDDLE, noAttributes, RIGHT, SIZE, STYLE, TOP, VALIGN, WIDTH |
Methods inherited from class org.mortbay.html.Block |
write |
Methods inherited from class org.mortbay.html.Element |
attribute, attribute, attribute, attributes, attributes, bgColor, bottom, center, color, cssClass, cssID, height, height, height, left, middle, right, setAttributesFrom, size, size, style, top, toString, width, width, width, write, write |
Unordered
public static final String Unordered
- See Also:
- Constant Field Values
Ordered
public static final String Ordered
- See Also:
- Constant Field Values
Menu
public static final String Menu
- See Also:
- Constant Field Values
Directory
public static final String Directory
- See Also:
- Constant Field Values
List
public List(String type)
add
public Composite add(Object o)
- Description copied from class:
Composite
- Add an Object to the Composite by converting it to a Element or.
String
- Overrides:
add
in class Composite
- Parameters:
o
- The item
- Returns:
- This List.
newItem
public Composite newItem()
- Returns:
- The new Item composite
Copyright © 1995-2009 Mort Bay Consulting. All Rights Reserved.