|
LEONARDI Application Composer - 8.9.0.40 by W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectleon.misc.LyFont
public final class LyFont
The LyFont
class is used encapsulate fonts used by Leonardi applications.
Field Summary | |
---|---|
static java.lang.String |
__VERSION
|
Constructor Summary | |
---|---|
LyFont(java.lang.String fontString)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
java.lang.String |
getFamily()
Gets font family name. |
java.lang.String |
getFontName()
Gets font name. |
int |
getSize()
Gets the font size. |
java.lang.String |
getValue()
|
int |
hashCode()
|
boolean |
isBold()
Checks if the font is bold or not. |
boolean |
isItalic()
Checks if the font is italic or not. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String __VERSION
Constructor Detail |
---|
public LyFont(java.lang.String fontString)
fontString
- the String representation of the font. The format of this string is:
fontName[-(bold|italic)][-(bold|italic)][-size]Default name is "Courier", default size is "10".
Method Detail |
---|
public java.lang.String getFontName()
public java.lang.String getFamily()
public int getSize()
public boolean isBold()
public boolean isItalic()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getValue()
|
(c) January 2013 - W4 S.A. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |