net.sf.jasperreports.engine.fill
Class TextMeasurer

java.lang.Object
  extended by net.sf.jasperreports.engine.fill.TextMeasurer

public class TextMeasurer
extends java.lang.Object

Version:
$Id: TextMeasurer.java 1444 2006-10-24 17:04:48 +0300 (Tue, 24 Oct 2006) ionut $
Author:
Teodor Danciu (teodord@users.sourceforge.net)

Constructor Summary
TextMeasurer(JRTextElement textElement)
           
 
Method Summary
 float getLeadingOffset()
           
 float getLineSpacingFactor()
           
 float getTextHeight()
           
protected  int getTextOffset()
           
protected  boolean isLeftToRight()
           
 void measure(JRStyledText styledText, java.lang.String remainingText, int remainingTextStart, int availableStretchHeight)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextMeasurer

public TextMeasurer(JRTextElement textElement)
Method Detail

measure

public void measure(JRStyledText styledText,
                    java.lang.String remainingText,
                    int remainingTextStart,
                    int availableStretchHeight)

isLeftToRight

protected boolean isLeftToRight()

getTextOffset

protected int getTextOffset()

getTextHeight

public float getTextHeight()

getLineSpacingFactor

public float getLineSpacingFactor()

getLeadingOffset

public float getLeadingOffset()


© 2001-2006 JasperSoft Corporation www.jaspersoft.com