Classe java.awt.Font


package java.awt;
import java.awt.peer.FontPeer;
public class Font implements java.io.Serializable {
    // Constantes et champs protégés
    public static final int PLAIN	= 0;
    public static final int BOLD	= 1;
    public static final int ITALIC	= 2;
    protected String name;
    protected int style;
    protected int size;
    // Constructeur public
    public Font(String name, int style, int size);
    // Méthodes d'instance publiques
    public static Font decode(String str);
    public boolean equals(Object obj);
    public String getFamily();
    public static Font getFont(String nm);
    public static Font getFont(String nm, Font font);
    public String getName();
    public FontPeer getPeer();
    public int getSize();
    public int getStyle();
    public int hashCode();
    public boolean isBold();
    public boolean isItalic();
    public boolean isPlain();
    public String toString();
}

Christophe Merlet
©Tous droits réservés
5 septembre 1998