Class NumberList

java.lang.Object
com.nomagic.magicreport.format.html.NumberList
All Implemented Interfaces:
List

@OpenApiAll public class NumberList extends Object implements List
A bullet level style element specifies a list style where the list items are preceded by bullets.
Since:
Oct 20, 2008
  • Constructor Summary

    Constructors
    Constructor
    Description
    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 Type
    Method
    Description
    int
    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.
    The name of list style.
    int
    The start value attribute specifies the first number of a list item of the current level.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • NumberList

      public NumberList(String name)
      Create a bullet with level 1 and U+2022 bullet character.
      Parameters:
      name - name of style
    • NumberList

      public NumberList(String name, int level, String bulletChar)
      Create a bullet with level and bullet character.
      Parameters:
      name - name of style
      level - level attribute
      bulletChar - bullet character
  • Method Details

    • getName

      public String getName()
      The name of list style.
      Specified by:
      getName in interface List
      Returns:
      name of list style.
    • getLevel

      public int getLevel()
      The level attribute specifies the level of the number and bullet list style.
      Specified by:
      getLevel in interface List
      Returns:
      level attribute
    • 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

      public String getListFormat()
      The bullet character attribute specifies the [UNICODE] character to use as the bullet in a bullet level style.
      Specified by:
      getListFormat in interface List
      Returns:
      bullet character