com.itextpdf.text
Class ZapfDingbatsNumberList

java.lang.Object
  extended by com.itextpdf.text.List
      extended by com.itextpdf.text.ZapfDingbatsNumberList
All Implemented Interfaces:
Indentable, Element, IAccessibleElement, 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 Summary
protected  int type
          which type
 
Fields inherited from class com.itextpdf.text.List
accessibleAttributes, alignindent, ALPHABETICAL, autoindent, first, indentationLeft, indentationRight, lettered, list, lowercase, LOWERCASE, numbered, NUMERICAL, ORDERED, postSymbol, preSymbol, role, symbol, symbolIndent, UNORDERED, UPPERCASE
 
Fields inherited from interface com.itextpdf.text.Element
ALIGN_BASELINE, ALIGN_BOTTOM, ALIGN_CENTER, ALIGN_JUSTIFIED, ALIGN_JUSTIFIED_ALL, ALIGN_LEFT, ALIGN_MIDDLE, ALIGN_RIGHT, ALIGN_TOP, ALIGN_UNDEFINED, ANCHOR, ANNOTATION, AUTHOR, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CCITTG3_1D, CCITTG3_2D, CCITTG4, CHAPTER, CHUNK, CREATIONDATE, CREATOR, DIV, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LANGUAGE, LIST, LISTITEM, MARKED, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, SECTION, SUBJECT, TITLE, WRITABLE_DIRECT, YMARK
 
Constructor Summary
ZapfDingbatsNumberList(int type)
          Creates a ZapdDingbatsNumberList
ZapfDingbatsNumberList(int type, int symbolIndent)
          Creates a ZapdDingbatsNumberList
 
Method Summary
 boolean add(Element o)
          Adds an Element to the List.
 int getType()
          get the type
 void setType(int type)
          set the type
 
Methods inherited from class com.itextpdf.text.List
add, getAccessibleAttribute, getAccessibleAttributes, getChunks, getFirst, getFirstItem, getId, getIndentationLeft, getIndentationRight, getItems, getLastItem, getPostSymbol, getPreSymbol, getRole, getSymbol, getSymbolIndent, getTotalLeading, isAlignindent, isAutoindent, isContent, isEmpty, isLettered, isLowercase, isNestable, isNumbered, normalizeIndentation, process, setAccessibleAttribute, setAlignindent, setAutoindent, setFirst, setId, setIndentationLeft, setIndentationRight, setLettered, setListSymbol, setListSymbol, setLowercase, setNumbered, setPostSymbol, setPreSymbol, setRole, setSymbolIndent, size, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.itextpdf.text.Element
toString
 

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(Element o)
Adds an Element 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


Copyright © 2013. All Rights Reserved.