lib/browser/GraphBrowser/AbstractFontMetrics.java
author wenzelm
Thu, 14 Jul 2005 19:28:20 +0200
changeset 16838 131ca99f6abf
parent 14981 e73f8140af78
child 33686 8e33ca8832b1
permissions -rw-r--r--
use existing Inttab;
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
13970
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
     1
/***************************************************************************
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
     2
  Title:      GraphBrowser/AWTFontMetrics.java
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
     3
  ID:         $Id$
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
     4
  Author:     Gerwin Klein, TU Muenchen
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
     5
  Copyright   2003  TU Muenchen
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
     6
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
     7
  AbstractFontMetrics avoids dependency on java.awt.FontMetrics in 
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
     8
  batch mode.
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
     9
  
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
    10
***************************************************************************/
4aef7117817b cleanup, comments
kleing
parents: 13968
diff changeset
    11
13968
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    12
package GraphBrowser;
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    13
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    14
public interface AbstractFontMetrics {
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    15
  public int stringWidth(String str);
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    16
  public int getAscent();
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    17
  public int getDescent();
689868b99bde eliminated dependencies on AWT for batch mode
kleing
parents:
diff changeset
    18
}