|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReportDrawable
A report drawable receives context-information from the report processor that may allow the implementation to return better results. Implement this interface to get some extra hints for your drawing task.
Method Summary | |
---|---|
void |
draw(Graphics2D graphics2D,
Rectangle2D bounds)
|
ImageMap |
getImageMap(Rectangle2D bounds)
Returns an optional image-map for the entry. |
void |
setConfiguration(org.pentaho.reporting.libraries.base.config.Configuration config)
Provides the current report configuration of the current report process to the drawable. |
void |
setResourceBundleFactory(ResourceBundleFactory bundleFactory)
Defines the resource-bundle factory that can be used to localize the drawing process. |
void |
setStyleSheet(StyleSheet style)
Provides the computed stylesheet of the report element that contained this drawable. |
Method Detail |
---|
void draw(Graphics2D graphics2D, Rectangle2D bounds)
void setConfiguration(org.pentaho.reporting.libraries.base.config.Configuration config)
config
- the report configuration.void setStyleSheet(StyleSheet style)
style
- the stylesheet.void setResourceBundleFactory(ResourceBundleFactory bundleFactory)
bundleFactory
- the resource-bundle factory.ImageMap getImageMap(Rectangle2D bounds)
bounds
- the bounds for which the image map is computed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |