|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jfree.report.content.ContentContainer
A report content item that contains other report content items.
Constructor Summary | |
protected |
ContentContainer(java.awt.geom.Rectangle2D bounds)
Creates a new content container. |
Method Summary | |
protected void |
addContentPart(Content cp)
Adds content to the container. |
java.awt.geom.Rectangle2D |
getBounds()
Returns the bounds for the content. |
Content |
getContentForBounds(java.awt.geom.Rectangle2D bounds)
Returns the content items from the container that intersect with the specified area. |
Content |
getContentPart(int part)
Returns a content item from the container. |
int |
getContentPartCount()
Returns the number of content items in the container. |
ContentType |
getContentType()
Returns the content type, in this case ContentType.CONTAINER . |
java.awt.geom.Rectangle2D |
getMinimumContentSize()
Returns the minimum content size for the container. |
protected void |
setBounds(float x,
float y,
float width,
float height)
Sets the bounds of the content. |
protected void |
setBounds(java.awt.geom.Rectangle2D bounds)
Sets the bounds of the content. |
java.lang.String |
toString()
Returns a string describing this object. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
protected ContentContainer(java.awt.geom.Rectangle2D bounds)
bounds
- the content bounds.Method Detail |
public ContentType getContentType()
ContentType.CONTAINER
.
getContentType
in interface Content
public java.awt.geom.Rectangle2D getBounds()
getBounds
in interface Content
protected void setBounds(java.awt.geom.Rectangle2D bounds)
bounds
- the new bounds.protected void setBounds(float x, float y, float width, float height)
x
- the x-coordinate.y
- the y-coordinate.width
- the width.height
- the height.protected void addContentPart(Content cp)
cp
- the content to add.public int getContentPartCount()
getContentPartCount
in interface Content
public Content getContentPart(int part)
getContentPart
in interface Content
part
- the content index (zero-based).
public Content getContentForBounds(java.awt.geom.Rectangle2D bounds)
getContentForBounds
in interface Content
bounds
- the area.
public java.awt.geom.Rectangle2D getMinimumContentSize()
getMinimumContentSize
in interface Content
public java.lang.String toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |