Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.sf.jasperreports.engine.fill
Interface JRTextMeasurer

All Known Implementing Classes:
  JdkGlyphFixTextMeasurer, TextMeasurer

    public interface JRTextMeasurer

Text measurer interface. A text measurer is responsible for fitting a text in a given space and for computing other text measuring information.

Version:
  $Id: JRTextMeasurer.java 3034 2009-08-27 11:58:04Z teodord $
Author:
  Lucian Chirita (lucianc@users.sourceforge.net)

Method Summary
`JRMeasuredText` | `measure(JRStyledText styledText, int remainingTextStart, int availableStretchHeight, boolean canOverflow)` Fit a text chunk in a given space.

Method Detail

### measure

    JRMeasuredText measure(JRStyledText styledText,
                           int remainingTextStart,
                           int availableStretchHeight,
                           boolean canOverflow)

  Fit a text chunk in a given space.

  Parameters:
    `styledText` - the full text
    `remainingTextStart` - the start index of the remaining text
    `availableStretchHeight` - the available stretch height
    `canOverflow` - whether the text element is able to overflow
  Returns:
    text measuring information

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

© 2001-2010 Jaspersoft Corporation www.jaspersoft.com