FreeHEP API
Version v1.1

org.freehep.graphicsio.font.truetype
Class TTFTable

java.lang.Object
  |
  +--org.freehep.graphicsio.font.truetype.TTFTable
Direct Known Subclasses:
TTFCMapTable, TTFHMtxTable, TTFLocaTable, TTFNameTable, TTFPostTable, TTFVersionTable

public abstract class TTFTable
extends Object

Concrete instances derived from this class hold data stored in true type tables. Right now the data is accessible as public attributes. In some cases methods may return more convenient objects (such as Shapes instead of point arrays).

Version:
$Id: TTFTable.java,v 1.1 2001/11/29 01:45:29 duns Exp $
Author:
Simon Fischer

Field Summary
static Class[] TABLE_CLASSES
           
static String[] TT_TAGS
           
 
Constructor Summary
TTFTable()
           
 
Method Summary
 TTFTable getTable(String tag)
           
abstract  String getTag()
           
 void init(TTFFont font, TTFInput ttf)
           
 boolean isRead()
           
 void read()
           
abstract  void readTable()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

TT_TAGS

public static final String[] TT_TAGS

TABLE_CLASSES

public static final Class[] TABLE_CLASSES
Constructor Detail

TTFTable

public TTFTable()
Method Detail

init

public void init(TTFFont font,
                 TTFInput ttf)
          throws IOException
IOException

read

public void read()
          throws IOException
IOException

readTable

public abstract void readTable()
                        throws IOException
IOException

getTag

public abstract String getTag()

isRead

public boolean isRead()

getTable

public TTFTable getTable(String tag)
                  throws IOException
IOException

toString

public String toString()
Overrides:
toString in class Object

FreeHEP API
Version v1.1

Copyright © 2000-2002 FreeHEP, All Rights Reserved.