jdbreport.model
Interface CellValue<E>

All Superinterfaces:
Serializable
All Known Implementing Classes:
AbstractImageValue, AbstractValue, ColorValue, IconValue, ImageValue, MathValue, PageNumber, SVGValue

public interface CellValue<E>
extends Serializable

Version:
2.0 20.12.2009
Author:
Andrey Kholmanskih

Method Summary
 and.util.xml.XMLParser createParser(and.util.xml.XMLReaderHandler handler)
          Reads from XML
 and.util.xml.XMLParser createParser(and.util.xml.XMLReaderHandler handler, ResourceReader resourceReader)
          Reads from XML
 Image getAsImage(ReportModel model, int row, int column)
           
 E getValue()
           
 void setValue(E e)
           
 boolean write(PrintWriter writer, ReportModel model, int row, int column)
          Writes to XML
 boolean write(PrintWriter writer, ReportModel model, int row, int column, ResourceWriter resourceWriter, String format)
          Writes to writer
 boolean write(PrintWriter writer, ReportModel model, int row, int column, String format)
          Writes to writer
 

Method Detail

createParser

and.util.xml.XMLParser createParser(and.util.xml.XMLReaderHandler handler)
Reads from XML

Returns:
XMLParser

createParser

and.util.xml.XMLParser createParser(and.util.xml.XMLReaderHandler handler,
                                    ResourceReader resourceReader)
Reads from XML

Returns:
XMLParser
Since:
2.0

write

boolean write(PrintWriter writer,
              ReportModel model,
              int row,
              int column)
              throws SaveReportException
Writes to XML

Parameters:
writer -
model -
row -
column -
Returns:
true if supported
Throws:
SaveReportException

write

boolean write(PrintWriter writer,
              ReportModel model,
              int row,
              int column,
              String format)
              throws SaveReportException
Writes to writer

Parameters:
writer -
model -
row -
column -
format -
Returns:
true if supported
Throws:
SaveReportException

write

boolean write(PrintWriter writer,
              ReportModel model,
              int row,
              int column,
              ResourceWriter resourceWriter,
              String format)
              throws SaveReportException
Writes to writer

Parameters:
writer -
model -
row -
column -
resourceWriter -
format -
Returns:
true if supported
Throws:
SaveReportException
Since:
2.0

getValue

E getValue()

setValue

void setValue(E e)

getAsImage

Image getAsImage(ReportModel model,
                 int row,
                 int column)
Returns:
as image
Since:
2.0