GP.Attributes
Class Font

java.lang.Object
  |
  +--GP.Attributes.Font
Direct Known Subclasses:
Courier, Helvetica, Times

public class Font
extends java.lang.Object


Field Summary
static int BOLD
           
static int BOLD_ITALIC
           
static int ITALIC
           
static int PLAIN
           
 
Constructor Summary
Font()
           
Font(Font font)
           
Font(java.lang.String name)
           
Font(java.lang.String name, int size)
           
Font(java.lang.String name, int size, int style)
           
 
Method Summary
 Font Copy()
           
 boolean equals(java.lang.Object other)
           
 java.awt.Font GetFont()
           
 java.lang.String GetName()
           
 int GetSize()
           
 int GetStyle()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

PLAIN

public static final int PLAIN

BOLD

public static final int BOLD

ITALIC

public static final int ITALIC

BOLD_ITALIC

public static final int BOLD_ITALIC
Constructor Detail

Font

public Font()

Font

public Font(java.lang.String name)

Font

public Font(java.lang.String name,
            int size)

Font

public Font(java.lang.String name,
            int size,
            int style)

Font

public Font(Font font)
Method Detail

Copy

public Font Copy()

GetName

public java.lang.String GetName()

GetSize

public int GetSize()

GetStyle

public int GetStyle()

GetFont

public java.awt.Font GetFont()

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object