com.lowagie.text

Class GreekList

public class GreekList extends List

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

See Also: List

Constructor Summary
GreekList()
Initialization
GreekList(int symbolIndent)
Initialization
GreekList(boolean greeklower, int symbolIndent)
Initialization
Method Summary
booleanadd(Object o)
Adds an Object to the List.
static int[]getGreekValue(int index, boolean lowercase)
Translates a number to a letter(combination).
booleanisGreekLower()
Checks if the list is greek-letter with lowercase
protected voidsetGreekFont()
change the font to SYMBOL
voidsetGreekLower(boolean greeklower)
set the greek-letters to lowercase otherwise to uppercase

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

add

public boolean add(Object o)
Adds an Object to the List.

Parameters: o the object to add.

Returns: true if adding the object succeeded

getGreekValue

public static int[] getGreekValue(int index, boolean lowercase)

Deprecated: use GreekNumberFactory.getString(int, boolean)

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()

Deprecated: use isLowercase()

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)

Deprecated: use setLowercase(boolean)

set the greek-letters to lowercase otherwise to uppercase

Parameters: greeklower