|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.gnu.jfiglet.core.FIGFontInfo
Informations about a FIGFont.
Field Summary | |
static int |
PRINT_DIRECTION_LEFT_TO_RIGHT
Value for the printDirection attributes that means a print direction from left to right. |
static int |
PRINT_DIRECTION_RIGHT_TO_LEFT
Value for the printDirection attributes that means a print direction from right to left. |
Constructor Summary | |
FIGFontInfo()
|
Method Summary | |
void |
addCommentLine(java.lang.String theCommentLine)
Add a line of comments to describe the FIGFont. |
int |
getBaseline()
Get the baseline of the FIGCharacters in the FIGFont. |
java.util.Iterator |
getCommentLines()
Get an iterator through the lines of comments (String) that describes the FIGFont. |
protected int |
getCommentLinesNumber()
Get the number of lines of comments that describes the FIGFont. |
char |
getHardblank()
Get the hardblank subcharacter used in the FIGCharaters of the FIGFont. |
int |
getHeight()
Get the height of the FIGCharacters in the FIGFont. |
FIGFontLayout |
getLayout()
Get the default layout specification of the FIGFont. |
int |
getMaxLength()
Get the max lenght of the FIGCharacters in the FIGFont. |
java.lang.String |
getName()
Get the name of the FIGFont. |
int |
getPrintDirection()
Get the print direction of the FIGFont, which is either PRINT_DIRECTION_LEFT_TO_RIGHT or PRINT_DIRECTION_RIGHT_TO_LEFT. |
void |
setBaseline(int theBaseline)
Set the baseline of the FIGCharacters in the FIGFont. |
protected void |
setCommentLinesNumber(int theCommentLinesNumber)
Set the number of lines of comments that describes the FIGFont. |
void |
setHardblank(char theHardblank)
Set the hardblank subcharacter used in the FIGCharaters of the FIGFont. |
void |
setHeight(int theHeight)
Set the height of the FIGCharacters in the FIGFont. |
void |
setLayout(FIGFontLayout theLayout)
Set the default layout specification of the FIGFont. |
void |
setMaxLength(int theMaxLength)
Get the max lenght of the FIGCharacters in the FIGFont. |
void |
setName(java.lang.String theName)
Set the name of the FIGFont. |
void |
setPrintDirection(int thePrintDirection)
Set the print direction of the FIGFont, which should either be PRINT_DIRECTION_LEFT_TO_RIGHT or PRINT_DIRECTION_RIGHT_TO_LEFT. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int PRINT_DIRECTION_LEFT_TO_RIGHT
public static final int PRINT_DIRECTION_RIGHT_TO_LEFT
Constructor Detail |
public FIGFontInfo()
Method Detail |
public int getBaseline()
public char getHardblank()
public int getHeight()
public FIGFontLayout getLayout()
public int getMaxLength()
public java.lang.String getName()
public int getPrintDirection()
public void setBaseline(int theBaseline)
theBaseline
- the baseline.public void setHardblank(char theHardblank)
theHardblank
- the hardblank subcharacter.public void setHeight(int theHeight)
theHeight
- the height.public void setLayout(FIGFontLayout theLayout)
theLayout
- the default layout specification.public void setMaxLength(int theMaxLength)
theMaxLength
- the max length.public void setName(java.lang.String theName)
theName
- the name of the FIGFont.public void setPrintDirection(int thePrintDirection)
thePrintDirection
- the print direction. An IllegalArgumentException
is returned if the value is not a legal one.protected void setCommentLinesNumber(int theCommentLinesNumber)
theCommentLinesNumber
- the number of lines of commentsprotected int getCommentLinesNumber()
public void addCommentLine(java.lang.String theCommentLine)
theCommentLine
- the line of comments to add.public java.util.Iterator getCommentLines()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |