Class ZapfDingbatsList

  • All Implemented Interfaces:
    Element, TextElementArray

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

      • zn

        protected int zn
        char-number in zapfdingbats
    • Constructor Detail

      • 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 Detail

      • 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​(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