com.lowagie.text

Class GreekList

Implemented Interfaces:
Element, TextElementArray

public class GreekList
extends List

A special-version of LIST whitch use greek-letters.
Version:
2003-06-22
Author:
Michael Niedermair
See Also:
List

Field Summary

Fields inherited from class com.lowagie.text.List

ALPHABETICAL, LOWERCASE, NUMBERICAL, ORDERED, UNORDERED, UPPERCASE, alignindent, autoindent, first, indentationLeft, indentationRight, lettered, list, lowercase, markupAttributes, numbered, symbol, symbolIndent

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, CCITTG3_1D, CCITTG3_2D, CCITTG4, CCITT_BLACKIS1, CCITT_ENCODEDBYTEALIGN, CCITT_ENDOFBLOCK, CCITT_ENDOFLINE, CELL, CHAPTER, CHUNK, CREATIONDATE, CREATOR, HEADER, IMGRAW, IMGTEMPLATE, JPEG, 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)
Initialisierung
GreekList(int symbolIndent)
Initialization

Method Summary

boolean
add(Object o)
Adds an Object to the List.
static int[]
getGreekValue(int index, boolean lowercase)
Translates a number to a letter(combination).
boolean
isGreekLower()
Checks if the list is greek-letter with lowercase
protected void
setGreekFont()
change the font to SYMBOL
void
setGreekLower(boolean greeklower)
set the greek-letters to lowercase otherwise to uppercase

Methods inherited from class com.lowagie.text.List

add, first, getChunks, getItems, getLowerCaseLetter, getUpperCaseLetter, indentationLeft, indentationRight, isAlignindent, isLettered, isLowerCase, isNumbered, isSymbol, isTag, leading, normalizeIndentation, process, setAlignindent, setAutoindent, setFirst, setIndentationLeft, setIndentationRight, setListSymbol, setListSymbol, setLowerCase, size, symbol, symbolIndent, type

Constructor Details

GreekList

public GreekList()
Initialization

GreekList

public GreekList(boolean greeklower,
                 int symbolIndent)
Initialisierung
Parameters:
greeklower - greek-char in lowercase
symbolIndent - indent

GreekList

public GreekList(int symbolIndent)
Initialization
Parameters:
symbolIndent - indent

Method Details

add

public boolean add(Object o)
Adds an Object to the List.
Specified by:
add in interface TextElementArray
Overrides:
add in interface List
Parameters:
o - the object to add.
Returns:
true if adding the object succeeded

getGreekValue

public static int[] getGreekValue(int index,
                                  boolean lowercase)
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.

isGreekLower

public boolean isGreekLower()
Checks if the list is greek-letter with lowercase
Returns:
true if the greek-letter is lowercase, false otherwise.

setGreekFont

protected void setGreekFont()
change the font to SYMBOL

setGreekLower

public void setGreekLower(boolean greeklower)
set the greek-letters to lowercase otherwise to uppercase
Parameters:
greeklower -