kAWT Version 0.98

java.awt
Class FontMetrics

java.lang.Object
  |
  +--java.awt.FontMetrics

public abstract class FontMetrics
extends Object


Field Summary
protected  Font font
           
 
Constructor Summary
protected FontMetrics(Font font)
           
 
Method Summary
abstract  int getAscent()
           
abstract  int getDescent()
           
 Font getFont()
           
abstract  int getHeight()
           
abstract  int stringWidth(String s)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

font

protected Font font
Constructor Detail

FontMetrics

protected FontMetrics(Font font)
Method Detail

getFont

public Font getFont()

stringWidth

public abstract int stringWidth(String s)

getHeight

public abstract int getHeight()

getAscent

public abstract int getAscent()

getDescent

public abstract int getDescent()

kAWT Version 0.98