org.thdl.tib.text
Class DuffData

java.lang.Object
  |
  +--org.thdl.tib.text.DuffData

public class DuffData
extends Object

A wrapper object for a stretch of TibetanMachineWeb data that shares the same font. A piece of DuffData consists of a font number and a string. The font number is a number from one to ten, corresponding to the ten TibetanMachineWeb fonts, as follows:

1 - TibetanMachineWeb
2 - TibetanMachineWeb1
...
10 - TibetanMachineWeb9

The string represents a contiguous stretch of data in that font, i.e. a stretch of TibetanMachineWeb that doesn't require a font change.


Field Summary
 int font
          the font number for this text (see class description)
 String text
          a string of text
 
Constructor Summary
DuffData(String s, int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

text

public String text
a string of text


font

public int font
the font number for this text (see class description)

Constructor Detail

DuffData

public DuffData(String s,
                int i)
Parameters:
s - a string of TibetanMachineWeb text
i - a TibetanMachineWeb font number


These API docs were created 02/02/2003 08:19 PM.
Copyright © 2001-2002 Tibetan and Himalayan Digital Library. All Rights Reserved.
Hosted by SourceForge_Logo