|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.function.AbstractExpression
org.pentaho.reporting.engine.classic.core.function.AbstractFunction
org.pentaho.reporting.engine.classic.core.function.PaintDynamicComponentFunction
public class PaintDynamicComponentFunction
Paints a AWT or Swing Component. The component must be contained in the dataRow.
Constructor Summary | |
---|---|
PaintDynamicComponentFunction()
Deprecated. DefaultConstructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractFunction |
---|
itemsFinished, itemsStarted, reportDone |
Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression |
---|
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.pentaho.reporting.engine.classic.core.function.Expression |
---|
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime |
Constructor Detail |
---|
public PaintDynamicComponentFunction()
IllegalStateException
- (HeadlessException) if no full AWT is available. This function needs a working layout
manager.Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |