Paints a AWT or Swing Component, fitting the component into the element bounds. The component must be contained in
the dataRow.
In an headless environment this function wont work and will always return null.
author: Thomas Morgner
The element name corresponds to a element in the report. The element
name must be unique, as the first occurence of the element is used.
The field name.
Return a completly separated copy of this function. The copy does no longer share any changeable objects with the
original function.
a copy of this function.
Gets the scale factor for the created image. Using a higher scale factor will produce better results. A scale
factor of 2 will double the resolution. A scale factor of 1 will create 72 dpi images.
the scale factor.
The element name corresponds to a element in the report. The element
name must be unique, as the first occurence of the element is used.
Parameters: field - the field name (null not permitted).
Define a scale factor for the created image. Using a higher scale factor will produce better results. A scale
factor of 2 will double the resolution. A scale factor of 1 will create 72 dpi images.
Parameters: scale - the scale factor.
Methods inherited from org.jfree.report.function.AbstractFunction