|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface for report content.
| Method Summary | |
java.awt.geom.Rectangle2D |
getBounds()
Returns the bounds for the content. |
Content |
getContentForBounds(java.awt.geom.Rectangle2D bounds)
Returns the content for the given bounds. |
Content |
getContentPart(int part)
Returns a sub-content item. |
int |
getContentPartCount()
Returns the number of sub-content items for this item. |
ContentType |
getContentType()
Returns the content type (the types include TEXT, IMAGE,
SHAPE and CONTAINER). |
java.awt.geom.Rectangle2D |
getMinimumContentSize()
Returns the minimum content size. |
| Method Detail |
public ContentType getContentType()
TEXT, IMAGE,
SHAPE and CONTAINER).
public java.awt.geom.Rectangle2D getBounds()
public java.awt.geom.Rectangle2D getMinimumContentSize()
public Content getContentForBounds(java.awt.geom.Rectangle2D bounds)
This method returns null if there is no content in these bounds.
bounds - the bounds.
null).public int getContentPartCount()
Only subclasses of ContentContainer will
return non-zero results.
public Content getContentPart(int part)
part - the sub-content index (zero-based).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||