charva.awt
Class Font
java.lang.Object
charva.awt.Font
- public class Font
- extends java.lang.Object
The Font class in the CHARVA package exists for "compatibility"
with AWT; the only useful information it holds is whether the
style is BOLD or not.
Constructor Summary |
Font(java.lang.String name_,
int style_,
int size_)
|
Method Summary |
java.lang.String |
getFontName()
Returns the name of this font. |
int |
getStyle()
Returns the style of this font. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PLAIN
public static final int PLAIN
- See Also:
- Constant Field Values
BOLD
public static final int BOLD
- See Also:
- Constant Field Values
ITALIC
public static final int ITALIC
- See Also:
- Constant Field Values
Font
public Font(java.lang.String name_,
int style_,
int size_)
getFontName
public java.lang.String getFontName()
- Returns the name of this font.
getStyle
public int getStyle()
- Returns the style of this font.