com.lowagie.text
Class GreekList

java.lang.Object
  extended by com.lowagie.text.List
      extended by com.lowagie.text.GreekList
All Implemented Interfaces:
Element, TextElementArray

public class GreekList
extends List

A special-version of LIST whitch use greek-letters.

See Also:
List

Field Summary
 
Fields inherited from class com.lowagie.text.List
alignindent, ALPHABETICAL, autoindent, first, indentationLeft, indentationRight, lettered, list, lowercase, LOWERCASE, numbered, NUMERICAL, ORDERED, symbol, symbolIndent, UNORDERED, UPPERCASE
 
Fields inherited from interface com.lowagie.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, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, HEADER, IMGRAW, IMGTEMPLATE, JPEG, JPEG2000, KEYWORDS, LIST, LISTITEM, MARKED, MULTI_COLUMN_TEXT, PARAGRAPH, PHRASE, PRODUCER, PTABLE, RECTANGLE, ROW, SECTION, SUBJECT, TABLE, TITLE
 
Constructor Summary
GreekList()
          Initialization
GreekList(boolean greeklower, int symbolIndent)
          Initialization
GreekList(int symbolIndent)
          Initialization
 
Method Summary
 boolean add(java.lang.Object o)
          Adds an Object to the List.
static int[] getGreekValue(int index, boolean lowercase)
          Deprecated. As of iText 2.0.3, replaced by GreekAlphabetFactory.getString(int, boolean), scheduled for removal at 2.1.0
 boolean isGreekLower()
          Deprecated. As of iText 2.0.3, replaced by List.isLowercase(), scheduled for removal at 2.1.0
protected  void setGreekFont()
          change the font to SYMBOL
 void setGreekLower(boolean greeklower)
          Deprecated. As of iText 2.0.3, replaced by List.setLowercase(boolean), scheduled for removal at 2.1.0
 
Methods inherited from class com.lowagie.text.List
first, getChunks, getFirst, getIndentationLeft, getIndentationRight, getItems, getSymbol, getSymbolIndent, getTotalLeading, indentationLeft, indentationRight, isAlignindent, isAutoindent, isContent, isEmpty, isLettered, isLowercase, isLowerCase, isNestable, isNumbered, normalizeIndentation, process, setAlignindent, setAutoindent, setFirst, setIndentationLeft, setIndentationRight, setLettered, setListSymbol, setListSymbol, setLowercase, setNumbered, setSymbolIndent, size, symbol, symbolIndent, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.lowagie.text.Element
toString
 

Constructor Detail

GreekList

public GreekList()
Initialization


GreekList

public GreekList(int symbolIndent)
Initialization

Parameters:
symbolIndent - indent

GreekList

public GreekList(boolean greeklower,
                 int symbolIndent)
Initialization

Parameters:
greeklower - greek-char in lowercase
symbolIndent - indent
Method Detail

setGreekFont

protected void setGreekFont()
change the font to SYMBOL


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

getGreekValue

public static int[] getGreekValue(int index,
                                  boolean lowercase)
Deprecated. As of iText 2.0.3, replaced by GreekAlphabetFactory.getString(int, boolean), scheduled for removal at 2.1.0

Translates a number to a letter(combination). 1-26 correspond with a-z, 27 is aa, 28 is ab, and so on, aaa comes right after zz.

Parameters:
index - a number greater than 0
Returns:
a String corresponding with the index.

setGreekLower

public void setGreekLower(boolean greeklower)
Deprecated. As of iText 2.0.3, replaced by List.setLowercase(boolean), scheduled for removal at 2.1.0

set the greek-letters to lowercase otherwise to uppercase

Parameters:
greeklower -

isGreekLower

public boolean isGreekLower()
Deprecated. As of iText 2.0.3, replaced by List.isLowercase(), scheduled for removal at 2.1.0

Checks if the list is greek-letter with lowercase

Returns:
true if the greek-letter is lowercase, false otherwise.