com.jrefinery.report.targets.base.content
Class TextContent

java.lang.Object
  extended bycom.jrefinery.report.targets.base.content.ContentContainer
      extended bycom.jrefinery.report.targets.base.content.TextContent
All Implemented Interfaces:
Content

public class TextContent
extends ContentContainer

A container for text content. The content will be split into paragraphs.

Author:
Thomas Morgner
See Also:
TextParagraph

Constructor Summary
TextContent(java.lang.String value, float lineHeight, java.awt.geom.Rectangle2D bounds, SizeCalculator ot)
          Creates a new container for text.
 
Methods inherited from class com.jrefinery.report.targets.base.content.ContentContainer
addContentPart, getBounds, getContentForBounds, getContentPart, getContentPartCount, getContentType, getMinimumContentSize, setBounds, setBounds, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TextContent

public TextContent(java.lang.String value,
                   float lineHeight,
                   java.awt.geom.Rectangle2D bounds,
                   SizeCalculator ot)
Creates a new container for text. The line height can be used to extend the height of a single text line. It can not be used to narrow down the text line.

Parameters:
value - the text.
lineHeight - the height of a text line
bounds - the bounds.
ot - the size calculator.