|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
An interface that defines the methods that must be supported by a report output target. JFreeReport currently implements three targets: one for Graphics2D (screen and printer), one for Acrobat PDF files and an other target for PlainText output.
| Field Summary | |
static java.lang.String |
AUTHOR
Literal text for the 'author' property name. |
static java.lang.String |
TITLE
Literal text for the 'title' property name. |
| Method Summary | |
void |
close()
Closes the target. |
void |
configure(org.jfree.util.Configuration config)
Configures the output target. |
java.lang.String |
getExportDescription()
|
java.lang.String |
getProperty(java.lang.String property)
Returns the value of the specified property. |
java.lang.String |
getProperty(java.lang.String property,
java.lang.String defaultValue)
Returns the value of the specified property. |
boolean |
isOpen()
Returns true if the target is open, and false otherwise. |
void |
open()
Opens the target. |
void |
printPage(MetaPage content,
PageDefinition page,
int index)
|
void |
setProperty(java.lang.String property,
java.lang.String value)
Defines a property for this target. |
void |
setReport(ReportDefinition reportDefinition)
|
| Methods inherited from interface org.jfree.report.layout.LayoutSupport |
createTextSizeCalculator,
getCache,
getContentFactory,
getHorizontalAlignmentBorder,
getInternalHorizontalAlignmentBorder,
getInternalVerticalAlignmentBorder,
getVerticalAlignmentBorder,
isImageResolutionMappingActive |
| Field Detail |
public static final java.lang.String TITLE
public static final java.lang.String AUTHOR
| Method Detail |
public java.lang.String getProperty(java.lang.String property,
java.lang.String defaultValue)
defaultValue is returned.property - the property name (or key).defaultValue - the default value.property is null.public java.lang.String getProperty(java.lang.String property)
null is returned.property - the property name (or key).property is null.
public void setProperty(java.lang.String property,
java.lang.String value)
Properties provide a mechanism for configuring a target. For example, you can add title and author information to a PDF report using the 'title' and 'author' properties.
property - the property name (key).value - the property value (use null to remove an existing property).
public void open()
throws OutputTargetException
public boolean isOpen()
public void close()
public void printPage(MetaPage content,
PageDefinition page,
int index)
throws OutputTargetException
public void configure(org.jfree.util.Configuration config)
config - the configuration.public java.lang.String getExportDescription()
public void setReport(ReportDefinition reportDefinition)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||