Module itextpdf

Class ZapfDingbatsNumberList

  • All Implemented Interfaces:
    Element, TextElementArray

    public class ZapfDingbatsNumberList
    extends List
    A special-version of LIST which use zapfdingbats-numbers (1..10).
    Author:
    Michael Niedermair and Bruno Lowagie
    See Also:
    List
    • Field Detail

      • type

        protected int type
        which type
    • Constructor Detail

      • ZapfDingbatsNumberList

        public ZapfDingbatsNumberList​(int type)
        Creates a ZapdDingbatsNumberList
        Parameters:
        type - the type of list
      • ZapfDingbatsNumberList

        public ZapfDingbatsNumberList​(int type,
                                      int symbolIndent)
        Creates a ZapdDingbatsNumberList
        Parameters:
        type - the type of list
        symbolIndent - indent
    • Method Detail

      • setType

        public void setType​(int type)
        set the type
        Parameters:
        type -
      • getType

        public int getType()
        get the type
        Returns:
        char-number
      • add

        public boolean add​(java.lang.Object o)
        Adds an Object to the List.
        Specified by:
        add in interface TextElementArray
        Overrides:
        add in class List
        Parameters:
        o - the object to add.
        Returns:
        true if adding the object succeeded