Class NumberList
java.lang.Object
com.nomagic.magicreport.format.html.NumberList
- All Implemented Interfaces:
List
A bullet level style element specifies a list style where the list items are preceded by bullets.
- Since:
- Oct 20, 2008
-
Constructor Summary
ConstructorsConstructorDescriptionNumberList(String name) Create a bullet with level 1 and U+2022 bullet character.NumberList(String name, int level, String bulletChar) Create a bullet with level and bullet character. -
Method Summary
Modifier and TypeMethodDescriptionintgetLevel()The level attribute specifies the level of the number and bullet list style.The bullet character attribute specifies the [UNICODE] character to use as the bullet in a bullet level style.getName()The name of list style.intThe start value attribute specifies the first number of a list item of the current level.
-
Constructor Details
-
NumberList
Create a bullet with level 1 and U+2022 bullet character.- Parameters:
name- name of style
-
NumberList
Create a bullet with level and bullet character.- Parameters:
name- name of stylelevel- level attributebulletChar- bullet character
-
-
Method Details
-
getName
The name of list style. -
getLevel
public int getLevel()The level attribute specifies the level of the number and bullet list style. -
getStartValue
public int getStartValue()The start value attribute specifies the first number of a list item of the current level.- Returns:
- start value attribute
-
getListFormat
The bullet character attribute specifies the [UNICODE] character to use as the bullet in a bullet level style.- Specified by:
getListFormatin interfaceList- Returns:
- bullet character
-