com.itextpdf.text
Class ZapfDingbatsNumberList

java.lang.Object
  extended by com.itextpdf.text.List
      extended by com.itextpdf.text.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 Summary
protected  int type
          which type
 
Fields inherited from class com.itextpdf.text.List
alignindent, ALPHABETICAL, autoindent, first, indentationLeft, indentationRight, lettered, list, lowercase, LOWERCASE, numbered, NUMERICAL, ORDERED, postSymbol, preSymbol, 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, HEADER, IMGRAW, IMGTEMPLATE, JBIG2, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, SECTION, SUBJECT, TITLE, 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, getChunks, getFirst, getIndentationLeft, getIndentationRight, getItems, getPostSymbol, getPreSymbol, getSymbol, getSymbolIndent, getTotalLeading, isAlignindent, isAutoindent, isContent, isEmpty, isLettered, isLowercase, isNestable, isNumbered, normalizeIndentation, process, setAlignindent, setAutoindent, setFirst, setIndentationLeft, setIndentationRight, setLettered, setListSymbol, setListSymbol, setLowercase, setNumbered, setPostSymbol, setPreSymbol, 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

Hosted by Hostbasket