|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--org.jfree.report.content.ContentContainer
A report content item that contains other report content items.
| Constructor Summary | |
protected |
ContentContainer(StrictBounds bounds)
Creates a new content container. |
| Method Summary | |
protected void |
addContentPart(Content cp)
Adds content to the container. |
StrictBounds |
getBounds()
Returns the bounds for the content. |
Content |
getContentForBounds(StrictBounds 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. |
StrictBounds |
getMinimumContentSize()
Returns the minimum content size for the container. |
protected void |
setBounds(long x,
long y,
long width,
long height)
Sets the bounds of the content. |
java.lang.String |
toString()
Returns a string describing this object. |
void |
translate(long x,
long y)
Hack-Attack: Used for alignment of the content. |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
| Constructor Detail |
protected ContentContainer(StrictBounds bounds)
bounds - the content bounds.| Method Detail |
public ContentType getContentType()
ContentType.CONTAINER.public StrictBounds getBounds()
protected void setBounds(long x,
long y,
long width,
long 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()
public Content getContentPart(int part)
part - the content index (zero-based).public Content getContentForBounds(StrictBounds bounds)
bounds - the area.public StrictBounds getMinimumContentSize()
public java.lang.String toString()
public void translate(long x,
long y)
x - the x translation.y - the y translation.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||