public interface AsciiList_Description extends AsciiList
IMPLICIT_NEWLINE| Modifier and Type | Method and Description |
|---|---|
AsciiList_Description |
addItem(String term,
String description)
Adds a new item to the description list.
|
int |
getWrappedLineIndentation()
Returns the indentation if lines need to be wrapped due to over length compared to a given width.
|
AsciiList_Description |
setWrappedLineIndentation(int indentation)
Sets the indentation if lines need to be wrapped due to over length compared to a given width.
|
AsciiList_Description |
useSingleLine(boolean flag)
Sets the list behavior for the descriptions to single line or multiline.
|
calculateMaxIndentation, calculateMaxIndentation, copy, getItems, getLevel, getPostLabelIndent, getPostLabelString, getPreLabelIndent, getPreLabelString, isContinuedList, prepareRender, render, renderItem, setLabelDefaults, setLevel, setListStyle, setPostLabelIndent, setPostLabelString, setPreLabelIndent, setPreLabelString, setWidthAsciiList_Description setWrappedLineIndentation(int indentation)
indentation - the indentationint getWrappedLineIndentation()
AsciiList_Description addItem(String term, String description)
term - the term of the itemdescription - the description of the termAsciiList_Description useSingleLine(boolean flag)
flag - true for single line (label and description in one line), false for multiline (separate lines for label and descriptions)Copyright © 2015–2016. All rights reserved.