|
||||||||||
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
org.jfree.report.elementfactory.StaticImageElementFactory
A factory to create static image elements. These element contain an immutable image. The image should not be modified.
Constructor Summary | |
StaticImageElementFactory()
Default Constructor. |
Method Summary | |
Element |
createElement()
Creates the image element. |
java.awt.Image |
getImage()
Returns the AWT-image contained in the image reference. |
ImageReference |
getImageReference()
Returns the image reference instance of the element. |
void |
setImage(java.awt.Image image)
Defines the image as AWT image. |
void |
setImageReference(ImageReference imageReference)
Defines the image reference instance of the element. |
Methods inherited from class org.jfree.report.elementfactory.ImageElementFactory |
applyStyle, getKeepAspectRatio, getScale, setKeepAspectRatio, setScale |
Methods inherited from class org.jfree.report.elementfactory.ElementFactory |
applyElementName, 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 StaticImageElementFactory()
Method Detail |
public ImageReference getImageReference()
public void setImageReference(ImageReference imageReference)
imageReference
- the image reference containing the image data.public java.awt.Image getImage()
public void setImage(java.awt.Image image)
image
- the new image.public Element createElement()
createElement
in class ElementFactory
java.lang.IllegalStateException
- if the image is not defined.ElementFactory.createElement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |