|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--org.jfree.report.elementfactory.ElementFactory
|
+--org.jfree.report.elementfactory.ImageElementFactory
|
+--org.jfree.report.elementfactory.StaticImageURLElementFactory
A factory to create an image element that loads its image from an static URL. The content string may contain a relative URL if an valid base URL is given.
| Constructor Summary | |
StaticImageURLElementFactory()
Default-Constructor. |
|
| Method Summary | |
Element |
createElement()
Creates the image URL element. |
static ImageElement |
createImageElement(java.lang.String name,
java.awt.geom.Rectangle2D bounds,
java.net.URL source)
Creates a new ImageElement. |
static ImageElement |
createImageElement(java.lang.String name,
java.awt.geom.Rectangle2D bounds,
java.net.URL source,
boolean scale)
Creates a new ImageElement. |
static ImageElement |
createImageElement(java.lang.String name,
java.awt.geom.Rectangle2D bounds,
java.net.URL source,
boolean scale,
boolean keepAspectRatio)
Creates a new ImageElement. |
java.net.URL |
getBaseURL()
Returns the BaseURL. |
java.lang.String |
getContent()
Returns the content part of the URL. |
void |
setBaseURL(java.net.URL baseURL)
Defines the base URL. |
void |
setContent(java.lang.String content)
Defines the content part of the URL. |
| 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,
getHRefTarget,
getHRefWindow,
getLayoutCachable,
getMaximumSize,
getMinimumSize,
getName,
getPreferredSize,
getVisible,
setAbsolutePosition,
setDynamicHeight,
setHRefTarget,
setHRefWindow,
setLayoutCachable,
setMaximumSize,
setMinimumSize,
setName,
setPreferredSize,
setVisible |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Constructor Detail |
public StaticImageURLElementFactory()
| Method Detail |
public Element createElement()
ElementFactory.createElement()public java.lang.String getContent()
public void setContent(java.lang.String content)
content - the content part of the URL.public java.net.URL getBaseURL()
public void setBaseURL(java.net.URL baseURL)
baseURL - the base URL.
public static ImageElement createImageElement(java.lang.String name,
java.awt.geom.Rectangle2D bounds,
java.net.URL source)
name - the name of the new elementbounds - the bounds of the new elementsource - the source url from where to load the image
public static ImageElement createImageElement(java.lang.String name,
java.awt.geom.Rectangle2D bounds,
java.net.URL source,
boolean scale)
name - the name of the new element.bounds - the bounds of the new element.source - the source url from where to load the image.scale - scale the image?
public static ImageElement createImageElement(java.lang.String name,
java.awt.geom.Rectangle2D bounds,
java.net.URL source,
boolean scale,
boolean keepAspectRatio)
name - the name of the new element.bounds - the bounds of the new element.source - the source url from where to load the image.scale - scale the image?keepAspectRatio - preserve the aspect ratio?
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||