Save This Page
Home » apache-harmony-6.0-src-r917296-snapshot » java » awt » [javadoc | source]
java.awt
public class: Font [javadoc | source]
java.lang.Object
   java.awt.Font

All Implemented Interfaces:
    Serializable

Direct Known Subclasses:
    FontUIResource

Field Summary
public static final  int PLAIN     
public static final  int BOLD     
public static final  int ITALIC     
public static final  int ROMAN_BASELINE     
public static final  int CENTER_BASELINE     
public static final  int HANGING_BASELINE     
public static final  int TRUETYPE_FONT     
public static final  int TYPE1_FONT     
public static final  int LAYOUT_LEFT_TO_RIGHT     
public static final  int LAYOUT_RIGHT_TO_LEFT     
public static final  int LAYOUT_NO_START_CONTEXT     
public static final  int LAYOUT_NO_LIMIT_CONTEXT     
static final  Font DEFAULT_FONT     
protected  String name     
protected  int style     
protected  int size     
protected  float pointSize     
Constructor:
 public Font(Map<Attribute, ?> attributes) 
 public Font(String name,
    int style,
    int size) 
Method from java.awt.Font Summary:
canDisplay,   canDisplay,   canDisplayUpTo,   canDisplayUpTo,   canDisplayUpTo,   createFont,   createFont,   createGlyphVector,   createGlyphVector,   createGlyphVector,   createGlyphVector,   decode,   deriveFont,   deriveFont,   deriveFont,   deriveFont,   deriveFont,   deriveFont,   equals,   getAttributes,   getAvailableAttributes,   getBaselineFor,   getFamily,   getFamily,   getFont,   getFont,   getFont,   getFontName,   getFontName,   getItalicAngle,   getLineMetrics,   getLineMetrics,   getLineMetrics,   getLineMetrics,   getMaxCharBounds,   getMissingGlyphCode,   getName,   getNumGlyphs,   getPSName,   getPeer,   getSize,   getSize2D,   getStringBounds,   getStringBounds,   getStringBounds,   getStringBounds,   getStyle,   getTransform,   hasUniformLineMetrics,   hashCode,   isBold,   isItalic,   isPlain,   isTransformed,   layoutGlyphVector,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from java.awt.Font Detail:
 public boolean canDisplay(char c) 
 public boolean canDisplay(int i) 
 public int canDisplayUpTo(String str) 
 public int canDisplayUpTo(char[] text,
    int start,
    int limit) 
 public int canDisplayUpTo(CharacterIterator iter,
    int start,
    int limit) 
 public static Font createFont(int fontFormat,
    File fontFile) throws FontFormatException, IOException 
 public static Font createFont(int fontFormat,
    InputStream fontStream) throws FontFormatException, IOException 
 public GlyphVector createGlyphVector(FontRenderContext frc,
    char[] chars) 
 public GlyphVector createGlyphVector(FontRenderContext frc,
    CharacterIterator iter) 
 public GlyphVector createGlyphVector(FontRenderContext frc,
    int[] glyphCodes) 
 public GlyphVector createGlyphVector(FontRenderContext frc,
    String str) 
 public static Font decode(String str) 
 public Font deriveFont(AffineTransform trans) 
 public Font deriveFont(float size) 
 public Font deriveFont(int style) 
 public Font deriveFont(Map<Attribute, ?> attributes) 
 public Font deriveFont(int style,
    AffineTransform trans) 
 public Font deriveFont(int style,
    float size) 
 public boolean equals(Object obj) 
 public Map<TextAttribute, ?> getAttributes() 
 public Attribute[] getAvailableAttributes() 
 public byte getBaselineFor(char c) 
 public String getFamily() 
 public String getFamily(Locale l) 
 public static Font getFont(Map<Attribute, ?> attributes) 
 public static Font getFont(String sp) 
 public static Font getFont(String sp,
    Font f) 
 public String getFontName() 
 public String getFontName(Locale l) 
 public float getItalicAngle() 
 public LineMetrics getLineMetrics(String str,
    FontRenderContext frc) 
 public LineMetrics getLineMetrics(char[] chars,
    int start,
    int end,
    FontRenderContext frc) 
 public LineMetrics getLineMetrics(CharacterIterator iter,
    int start,
    int end,
    FontRenderContext frc) 
 public LineMetrics getLineMetrics(String str,
    int start,
    int end,
    FontRenderContext frc) 
 public Rectangle2D getMaxCharBounds(FontRenderContext frc) 
 public int getMissingGlyphCode() 
 public String getName() 
 public int getNumGlyphs() 
 public String getPSName() 
 public FontPeer getPeer() 
Deprecated!
 public int getSize() 
 public float getSize2D() 
 public Rectangle2D getStringBounds(String str,
    FontRenderContext frc) 
 public Rectangle2D getStringBounds(CharacterIterator ci,
    int start,
    int end,
    FontRenderContext frc) 
 public Rectangle2D getStringBounds(String str,
    int start,
    int end,
    FontRenderContext frc) 
 public Rectangle2D getStringBounds(char[] chars,
    int start,
    int end,
    FontRenderContext frc) 
 public int getStyle() 
 public AffineTransform getTransform() 
 public boolean hasUniformLineMetrics() 
 public int hashCode() 
 public boolean isBold() 
 public boolean isItalic() 
 public boolean isPlain() 
 public boolean isTransformed() 
 public GlyphVector layoutGlyphVector(FontRenderContext frc,
    char[] chars,
    int start,
    int count,
    int flags) 
 public String toString()