Class ZapfDingbatsNumberList

  • All Implemented Interfaces:
    Element, TextElementArray

    public class ZapfDingbatsNumberList
    extends List
    A special-version of LIST which use zapfdingbats-numbers (1..10).
    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

      • getType

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

        public void setType​(int type)
        set the type
        Parameters:
        type - type
      • 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​(java.lang.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