org.pentaho.reporting.engine.classic.core.modules.output.pageable.plaintext.driver
Class PlaintextDataChunk

java.lang.Object
  extended by org.pentaho.reporting.engine.classic.core.modules.output.pageable.plaintext.driver.PlaintextDataChunk

public class PlaintextDataChunk
extends Object

A data carrier to collect and store text data for the output.


Method Summary
 String getFont()
           
 String getText()
          Gets the text stored in this chunk.
 int getWidth()
          Gets the width of the text, the number of character which should be printed.
 int getX()
          The column of the text start.
 int getY()
          Gets the row where to print the text.
 boolean isBold()
           
 boolean isItalic()
           
 boolean isStrikethrough()
           
 boolean isUnderline()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

isUnderline

public boolean isUnderline()

isStrikethrough

public boolean isStrikethrough()

getText

public String getText()
Gets the text stored in this chunk.

Returns:
the text

isBold

public boolean isBold()

isItalic

public boolean isItalic()

getFont

public String getFont()

getX

public int getX()
The column of the text start.

Returns:
the column of the first character.

getY

public int getY()
Gets the row where to print the text.

Returns:
the row.

getWidth

public int getWidth()
Gets the width of the text, the number of character which should be printed.

Returns:
the number of printable characters.