Class ZapfDingbatsList

java.lang.Object
com.lowagie.text.List
com.lowagie.text.ZapfDingbatsList
All Implemented Interfaces:
Element, TextElementArray

public class ZapfDingbatsList extends List
A special-version of LIST which use zapfdingbats-letters.
See Also:
  • Field Details

    • zn

      protected int zn
      char-number in zapfdingbats
  • Constructor Details

    • ZapfDingbatsList

      public ZapfDingbatsList(int zn)
      Creates a ZapfDingbatsList
      Parameters:
      zn - a char-number
    • ZapfDingbatsList

      public ZapfDingbatsList(int zn, int symbolIndent)
      Creates a ZapfDingbatsList
      Parameters:
      zn - a char-number
      symbolIndent - indent
  • Method Details

    • getCharNumber

      public int getCharNumber()
      get the char-number
      Returns:
      char-number
    • setCharNumber

      public void setCharNumber(int zn)
      set the char-number
      Parameters:
      zn - a char-number
    • add

      public boolean add(Element o)
      Adds an Element to the List.
      Specified by:
      add in interface TextElementArray
      Overrides:
      add in class List
      Parameters:
      o - the element to add.
      Returns:
      true if adding the element succeeded
    • add

      public boolean add(String s)
      Adds a String to the List.
      Overrides:
      add in class List
      Parameters:
      s - the string to add.
      Returns:
      true if adding the string succeeded