public class PaintDynamicComponentFunction extends AbstractFunction implements PageEventListener
Constructor and Description |
---|
PaintDynamicComponentFunction()
Deprecated.
DefaultConstructor.
|
Modifier and Type | Method and Description |
---|---|
String |
getField()
Deprecated.
Returns the field used by the function.
|
float |
getScale()
Deprecated.
Gets the scale factor for the created image.
|
Object |
getValue()
Deprecated.
Return the current expression value.
|
void |
groupFinished(ReportEvent event)
Deprecated.
Receives notification that a group has finished.
|
void |
groupStarted(ReportEvent event)
Deprecated.
Receives notification that a group has started.
|
void |
itemsAdvanced(ReportEvent event)
Deprecated.
Receives notification that a row of data is being processed.
|
void |
pageFinished(ReportEvent event)
Deprecated.
Receives notification that a page has ended.
|
void |
pageStarted(ReportEvent event)
Deprecated.
Receives notification that a page has started.
|
void |
reportFinished(ReportEvent event)
Deprecated.
Receives notification that the report has finished.
|
void |
reportInitialized(ReportEvent event)
Deprecated.
Receives notification that report generation initializes the current run.
|
void |
reportStarted(ReportEvent event)
Deprecated.
Receives notification that the report has started.
|
void |
setField(String field)
Deprecated.
Sets the field name for the function.
|
void |
setScale(float scale)
Deprecated.
Define a scale factor for the created image.
|
itemsFinished, itemsStarted, reportDone, summaryRowSelection
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime
public PaintDynamicComponentFunction()
IllegalStateException
- (HeadlessException) if no full AWT is available. This function needs a working layout manager.public String getField()
public void setField(String field)
field
- the field name.public void reportStarted(ReportEvent event)
reportStarted
in interface ReportListener
reportStarted
in class AbstractFunction
event
- the event.public void reportInitialized(ReportEvent event)
The event carries a ReportState.Started state. Use this to initialize the report.
reportInitialized
in interface ReportListener
reportInitialized
in class AbstractFunction
event
- The event.public void reportFinished(ReportEvent event)
reportFinished
in interface ReportListener
reportFinished
in class AbstractFunction
event
- the event.public void pageStarted(ReportEvent event)
pageStarted
in interface PageEventListener
event
- the event.public void pageFinished(ReportEvent event)
pageFinished
in interface PageEventListener
event
- the event.public void groupStarted(ReportEvent event)
groupStarted
in interface ReportListener
groupStarted
in class AbstractFunction
event
- the event.public void groupFinished(ReportEvent event)
groupFinished
in interface ReportListener
groupFinished
in class AbstractFunction
event
- the event.public void itemsAdvanced(ReportEvent event)
itemsAdvanced
in interface ReportListener
itemsAdvanced
in class AbstractFunction
event
- the event.public Object getValue()
The value depends (obviously) on the expression implementation.
getValue
in interface Expression
public void setScale(float scale)
scale
- the scale factor.public float getScale()