Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org.jfree.report.modules.output.table » html » [javadoc | source]
org.jfree.report.modules.output.table.html
public class: HtmlTextCellData [javadoc | source]
java.lang.Object
   org.jfree.report.modules.output.table.base.TableCellData
      org.jfree.report.modules.output.table.html.HtmlCellData
         org.jfree.report.modules.output.table.html.HtmlTextCellData

All Implemented Interfaces:
    Cloneable

A wrapper for text content within the generated HtmlTable.
Constructor:
 public HtmlTextCellData(Rectangle2D outerBounds,
    String value,
    HtmlCellStyle style,
    boolean useXHTML) 
    Creates a new HtmlTextCellData for the given content.
    Parameters:
    outerBounds - the cell bounds.
    value - the text content.
    style - the style definition for the cell.
    useXHTML - a flag indicating whether to use XHTML.
Method from org.jfree.report.modules.output.table.html.HtmlTextCellData Summary:
isBackground,   printText,   write
Methods from org.jfree.report.modules.output.table.html.HtmlCellData:
getStyle,   isUseXHTML,   write
Methods from org.jfree.report.modules.output.table.base.TableCellData:
clone,   getBounds,   isBackground,   setBounds
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.report.modules.output.table.html.HtmlTextCellData Detail:
 public boolean isBackground() 
    Gets a flag, which indicates whether this cell contains background definitions.
 public static  void printText(PrintWriter pout,
    String text,
    boolean useXHTML) 
    Generates the HTML output for printing the given text.
 public  void write(PrintWriter pout,
    HtmlFilesystem filesystem) 
    Writes the (X)HTML-Code to print the Text-Content.