lib/browser/GraphBrowser/AbstractFontMetrics.java
changeset 13970 4aef7117817b
parent 13968 689868b99bde
child 14981 e73f8140af78
equal deleted inserted replaced
13969:3aa8c0bb3080 13970:4aef7117817b
       
     1 /***************************************************************************
       
     2   Title:      GraphBrowser/AWTFontMetrics.java
       
     3   ID:         $Id$
       
     4   Author:     Gerwin Klein, TU Muenchen
       
     5   Copyright   2003  TU Muenchen
       
     6   License:    GPL (GNU GENERAL PUBLIC LICENSE)
       
     7 
       
     8   AbstractFontMetrics avoids dependency on java.awt.FontMetrics in 
       
     9   batch mode.
       
    10   
       
    11 ***************************************************************************/
       
    12 
     1 package GraphBrowser;
    13 package GraphBrowser;
     2 
    14 
     3 public interface AbstractFontMetrics {
    15 public interface AbstractFontMetrics {
     4 
       
     5   public int stringWidth(String str);
    16   public int stringWidth(String str);
     6   public int getAscent();
    17   public int getAscent();
     7   public int getDescent();
    18   public int getDescent();
     8 
       
     9 }
    19 }