public interface TA_ItemizeList extends TA_List
An itemize list using ASCII and UTF-8 characters.
| Modifier and Type | Method and Description |
|---|---|
static TA_ItemizeList |
create(Character label,
String description)
Creates a new itemize list with unlimited levels for given character.
|
static TA_ItemizeList |
create(String description,
Character... characters)
Creates a new itemize list for levels provided by the given characters.
|
static TA_ItemizeList |
createIncremental(Character label,
String description)
Creates a new itemize list with unlimited levels for given character.
|
String |
getLabel(int level)
Returns the label for a given level.
|
int |
getMaxLevel()
Returns the max level the style supports.
|
default StrBuilder |
toDoc() |
String getLabel(int level)
Returns the label for a given level.
level - the level for the requested styleNotImplementedException - if requested level is not supportedint getMaxLevel()
Returns the max level the style supports.
default StrBuilder toDoc()
toDoc in interface HasToDocstatic TA_ItemizeList create(Character label, String description)
Creates a new itemize list with unlimited levels for given character.
label - character as labeldescription - list descriptionstatic TA_ItemizeList createIncremental(Character label, String description)
Creates a new itemize list with unlimited levels for given character. Incremental means that level 1 has 1 character, level 2 has 2 characters, level 3 has 3 characters and so forth.
label - character as labeldescription - list descriptionstatic TA_ItemizeList create(String description, Character... characters)
Creates a new itemize list for levels provided by the given characters.
description - list descriptioncharacters - characters in order of level they support (level 1 is first, level n is last)Copyright © 2016–2017. All rights reserved.