nl.flotsam.pecia.builder.base
Class DefaultItemizedListBuilder<T>
java.lang.Object
nl.flotsam.pecia.builder.base.AbstractBuilder<T>
nl.flotsam.pecia.builder.base.DefaultItemizedListBuilder<T>
- All Implemented Interfaces:
- Initializer<ItemizedList<T>>, ItemizedListBuilder<T>, DocumentElement<T>, ItemizedList<T>
public class DefaultItemizedListBuilder<T>
- extends AbstractBuilder<T>
- implements ItemizedListBuilder<T>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultItemizedListBuilder
public DefaultItemizedListBuilder(DocumentBuilder builder,
T parent,
LifecycleListener listener)
item
public ItemizedList<T> item(String text)
- Description copied from interface:
ItemizedList
- Adds a new list item, populates it with a
Para
containing the
text
passed in.
- Specified by:
item
in interface ItemizedList<T>
- Parameters:
text
- The text to be inserted into the list item.
- Returns:
- The current itemized list.
item
public ListItem<? extends ItemizedList<T>> item()
- Description copied from interface:
ItemizedList
- Adds a new list item, allowing the list item to be populated in any
specific way you desire.
- Specified by:
item
in interface ItemizedList<T>
- Returns:
- The
ListItem
to be populated.
start
public ItemizedList<T> start()
- Specified by:
start
in interface Initializer<ItemizedList<T>>
Copyright © 2010. All Rights Reserved.