|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.elementfactory.ElementFactory
org.jfree.report.elementfactory.ImageElementFactory
An ElementFactory that can be used to create ImageElements. This is the base class for all image element factories.
Constructor Summary | |
ImageElementFactory()
DefaultConstructor. |
Method Summary | |
protected void |
applyStyle(ElementStyleSheet style)
Applies the style definition to the elements stylesheet. |
java.lang.Boolean |
getKeepAspectRatio()
Returns whether the generated image element should preserve the original aspect ratio of the image content during scaling. |
java.lang.Boolean |
getScale()
Returns, whether the image content should be scaled to fit the complete image element bounds. |
void |
setKeepAspectRatio(java.lang.Boolean keepAspectRatio)
Defines whether the generated image element should preserve the original aspect ratio of the image content during scaling. |
void |
setScale(java.lang.Boolean scale)
Defines, whether the image content should be scaled to fit the complete image element bounds. |
Methods inherited from class org.jfree.report.elementfactory.ElementFactory |
applyElementName, createElement, getAbsolutePosition, getDynamicHeight, getMaximumSize, getMinimumSize, getName, getPreferredSize, setAbsolutePosition, setDynamicHeight, setMaximumSize, setMinimumSize, setName, setPreferredSize |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ImageElementFactory()
Method Detail |
public java.lang.Boolean getScale()
public void setScale(java.lang.Boolean scale)
scale
- the scale flag of the image element.public java.lang.Boolean getKeepAspectRatio()
public void setKeepAspectRatio(java.lang.Boolean keepAspectRatio)
keepAspectRatio
- whether to keep the aspect ratio of the image content during
the scaling.protected void applyStyle(ElementStyleSheet style)
applyStyle
in class ElementFactory
style
- the element stylesheet which should receive the style definition.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |