org.pentaho.reporting.engine.classic.core.layout.text
Class GlyphList

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.layout.text.GlyphList

public final class GlyphList
extends Object

Todo: Document Me

Author:
Thomas Morgner

Constructor Summary
GlyphList(int spacerIncrement)
           
GlyphList(int glyphIncrement, int spacerIncrement)
           
 
Method Summary
 void addGlyphData(int[] rawCodepoints, int rawCodePointOffset, int rawCodePointLength, int breakWeight, int classification, org.pentaho.reporting.libraries.fonts.text.Spacing spacing, int width, int height, int baseLine, int kerning)
           
 void clear()
           
 void ensureSize(int size)
           
 Glyph getGlyph(int index)
           
 String getGlyphAsString(int index, org.pentaho.reporting.libraries.fonts.encoding.CodePointBuffer codePointBuffer)
           
 int getSize()
           
 String getText(int offset, int length, org.pentaho.reporting.libraries.fonts.encoding.CodePointBuffer codePointBuffer)
           
 boolean isEmpty()
           
 GlyphList lock()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GlyphList

public GlyphList(int spacerIncrement)

GlyphList

public GlyphList(int glyphIncrement,
                 int spacerIncrement)
Method Detail

addGlyphData

public void addGlyphData(int[] rawCodepoints,
                         int rawCodePointOffset,
                         int rawCodePointLength,
                         int breakWeight,
                         int classification,
                         org.pentaho.reporting.libraries.fonts.text.Spacing spacing,
                         int width,
                         int height,
                         int baseLine,
                         int kerning)

getGlyph

public Glyph getGlyph(int index)

getSize

public int getSize()

lock

public GlyphList lock()

clear

public void clear()

ensureSize

public void ensureSize(int size)

isEmpty

public boolean isEmpty()

getText

public String getText(int offset,
                      int length,
                      org.pentaho.reporting.libraries.fonts.encoding.CodePointBuffer codePointBuffer)

getGlyphAsString

public String getGlyphAsString(int index,
                               org.pentaho.reporting.libraries.fonts.encoding.CodePointBuffer codePointBuffer)

toString

public String toString()
Overrides:
toString in class Object