net.sf.jasperreports.engine.fill

## Class TextMeasurerFactory

- java.lang.Object
- - net.sf.jasperreports.engine.util.AbstractTextMeasurerFactory
  - - net.sf.jasperreports.engine.fill.TextMeasurerFactory

- All Implemented Interfaces:
    JRTextMeasurerFactory

      public class TextMeasurerFactory
      extends AbstractTextMeasurerFactory

  Default text measurer factory. This factory produces `TextMeasurer` instances.
  Version:
    $Id: TextMeasurerFactory.java 5878 2013-01-07 20:23:13Z teodord $
  Author:
    Lucian Chirita (lucianc@users.sourceforge.net)

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `TextMeasurerFactory()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `JRTextMeasurer` | `createMeasurer(JasperReportsContext jasperReportsContext, JRCommonText text)` Returns a `TextMeasurer` instance for the text object.

    - ### Methods inherited from class net.sf.jasperreports.engine.util.AbstractTextMeasurerFactory

      `createMeasurer`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### TextMeasurerFactory

          public TextMeasurerFactory()

  - ### Method Detail

    - #### createMeasurer

          public JRTextMeasurer createMeasurer(JasperReportsContext jasperReportsContext,
                                      JRCommonText text)

      Returns a `TextMeasurer` instance for the text object.
        `text` - the text object
      Returns:
        a text measurer

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com