charva.awt
Class Font

java.lang.Object
  extended bycharva.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.


Field Summary
static int BOLD
           
static int ITALIC
           
static int PLAIN
           
 
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
 

Field Detail

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
Constructor Detail

Font

public Font(java.lang.String name_,
            int style_,
            int size_)
Method Detail

getFontName

public java.lang.String getFontName()
Returns the name of this font.


getStyle

public int getStyle()
Returns the style of this font.