|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jfree.report.content.ImageContent
Image content.
| Constructor Summary | |
ImageContent(ImageReference ref,
java.awt.geom.Rectangle2D bounds)
Creates a new image content. |
|
| Method Summary | |
java.awt.geom.Rectangle2D |
getBounds()
Returns the content bounds. |
ImageReference |
getContent()
Returns the image contents. |
Content |
getContentForBounds(java.awt.geom.Rectangle2D bounds)
Returns content that falls within the specified bounds. |
Content |
getContentPart(int part)
This class does not store sub-content items, so this method always returns null. |
int |
getContentPartCount()
This class does not store sub-content items, so this method always returns zero. |
ContentType |
getContentType()
Returns the content type, in this case ContentType.IMAGE. |
java.awt.geom.Rectangle2D |
getMinimumContentSize()
Returns the minimum content size. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ImageContent(ImageReference ref,
java.awt.geom.Rectangle2D bounds)
ref - the image reference.bounds - the content bounds.| Method Detail |
public ContentType getContentType()
ContentType.IMAGE.
getContentType in interface Contentpublic int getContentPartCount()
getContentPartCount in interface Contentpublic Content getContentPart(int part)
null.
getContentPart in interface Contentpart - ignored.
null.public java.awt.geom.Rectangle2D getBounds()
getBounds in interface Contentpublic Content getContentForBounds(java.awt.geom.Rectangle2D bounds)
getContentForBounds in interface Contentbounds - the bounds.
public ImageReference getContent()
public java.awt.geom.Rectangle2D getMinimumContentSize()
getMinimumContentSize in interface Content
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||