StarOffice 5.2 API
reverse engineered by classdoc

com.sun.star.comp.jawt.image
Class FontMetricsImpl

java.lang.Object
  |
  +--java.awt.FontMetrics
        |
        +--com.sun.star.comp.jawt.image.FontMetricsImpl
All Implemented Interfaces:
java.io.Serializable

public synchronized class FontMetricsImpl
extends java.awt.FontMetrics

See Also:
Serialized Form

Field Summary
private  com.sun.star.comp.jawt.image.FontPeer fontPeer
           
(package private)  com.sun.star.comp.jawt.vcl.TKTSimpleFontMetric simpleFontMetric
           
private  int xFontRef
           
 
Fields inherited from class java.awt.FontMetrics
font, serialVersionUID
 
Constructor Summary
FontMetricsImpl(java.awt.Font f, int i)
           
 
Method Summary
 int charWidth(char c)
           
 void finalize()
           
 int getAscent()
           
 int getDescent()
           
 int getLeading()
           
 int getMaxAdvance()
           
 int stringWidth(java.lang.String s)
           
 
Methods inherited from class java.awt.FontMetrics
bytesWidth, charWidth, charsWidth, getFont, getHeight, getMaxAscent, getMaxDecent, getMaxDescent, getWidths, toString
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

fontPeer

private com.sun.star.comp.jawt.image.FontPeer fontPeer

simpleFontMetric

com.sun.star.comp.jawt.vcl.TKTSimpleFontMetric simpleFontMetric

xFontRef

private int xFontRef
Constructor Detail

FontMetricsImpl

public FontMetricsImpl(java.awt.Font f,
                       int i)
Method Detail

charWidth

public int charWidth(char c)

finalize

public void finalize()

getAscent

public int getAscent()

getDescent

public int getDescent()

getLeading

public int getLeading()

getMaxAdvance

public int getMaxAdvance()

stringWidth

public int stringWidth(java.lang.String s)

StarOffice 5.2 API
reverse engineered by classdoc