FreeHEP API
Version current

org.freehep.graphicsio.font.truetype
Class TTFTable

java.lang.Object
  extended byorg.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
Source Code:
TTFTable.java

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
Throws:
IOException

read

public void read()
          throws IOException
Throws:
IOException

readTable

public abstract void readTable()
                        throws IOException
Throws:
IOException

getTag

public abstract String getTag()

isRead

public boolean isRead()

getTable

public TTFTable getTable(String tag)
                  throws IOException
Throws:
IOException

toString

public String toString()

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.