public interface AsciiList_Enumerate extends AsciiList
IMPLICIT_NEWLINE| Modifier and Type | Method and Description |
|---|---|
AsciiList_Enumerate |
addAllItems(Collection<String> items)
Adds a collection of new items to the list.
|
AsciiList_Enumerate |
addItem(AsciiList list)
Adds a new list to the list.
|
AsciiList_Enumerate |
addItem(String item)
Adds a new item to the list.
|
String |
getLabelSeparator()
Returns the label separator, default is dot.
|
int[] |
getParents()
Returns the parents of nested enumerate lists.
|
boolean |
isPrepared()
Returns a flag stating if the list is prepared for rendering.
|
AsciiList_Enumerate |
setLabelSeparator(String separator)
Sets the label separator, default is dot.
|
AsciiList_Enumerate |
setParents(int[] parents)
Sets the parents (enumerations of all parent items) to generate for instance 1.
|
void |
setPrepared()
Sets the list as being prepared for rendering.
|
AsciiList_Enumerate |
useLabelSeparatorAfterLastItem(boolean flag)
Sets the behavior for using the label separator after the last item when rendering a list item.
|
calculateMaxIndentation, calculateMaxIndentation, copy, getItems, getLevel, getPostLabelIndent, getPostLabelString, getPreLabelIndent, getPreLabelString, isContinuedList, prepareRender, render, renderItem, setLabelDefaults, setLevel, setListStyle, setPostLabelIndent, setPostLabelString, setPreLabelIndent, setPreLabelString, setWidthAsciiList_Enumerate addItem(AsciiList list)
AsciiList.isContinuedList() returns true, not continued if it returns false.list - the new listNullPointerException - - if the list is nullIllegalArgumentException - - if the list is emptyAsciiList_Enumerate addItem(String item)
item - new item, only added if not blankAsciiList_Enumerate addAllItems(Collection<String> items)
items - collection of items, individual items only added if not blankAsciiList_Enumerate setParents(int[] parents)
parents - nested level, each entry in the array marks the position of a parentint[] getParents()
AsciiList_Enumerate setLabelSeparator(String separator)
separator - new label separator, blank can be usedString getLabelSeparator()
AsciiList_Enumerate useLabelSeparatorAfterLastItem(boolean flag)
flag - true if the separator should be used after the last item, false otherwiseboolean isPrepared()
void setPrepared()
Copyright © 2015–2016. All rights reserved.