Java in a Nutshell Online Quick Reference for Java 1.1
Availability: JDK 1.0
public class Font extends Object implements Serializable { // Public Constructor public Font(String name, int style, int size); // Constants public static final int BOLD; public static final int ITALIC; public static final int PLAIN; // Protected Instance Variables protected String name; protected int size; protected int style; // Class Methods 1.1 public static Font decode(String str); public static Font getFont(String nm); public static Font getFont(String nm, Font font); // Public Instance Methods public boolean equals(Object obj); // Overrides Object.equals() public String getFamily(); public String getName(); 1.1 public FontPeer getPeer(); public int getSize(); public int getStyle(); public int hashCode(); // Overrides Object.hashCode() public boolean isBold(); public boolean isItalic(); public boolean isPlain(); public String toString(); // Overrides Object.toString() }