java.lang.Object | ||
↳ | org.jfree.chart.block.AbstractBlock | |
↳ | org.jfree.chart.block.BlockContainer |
![]() |
A container for a collection of Block
objects. The container uses
an Arrangement
object to handle the position of each block.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new instance with default settings.
| |||||||||||
Creates a new instance with the specified arrangement.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a block to the container.
| |||||||||||
Adds a block to the container.
| |||||||||||
Arranges the contents of the block, within the given constraints, and
returns the block size.
| |||||||||||
Clears all the blocks from the container.
| |||||||||||
Returns a clone of the container.
| |||||||||||
Draws the block within the specified area.
| |||||||||||
Draws the container and all the blocks within it.
| |||||||||||
Tests this container for equality with an arbitrary object.
| |||||||||||
Returns the arrangement (layout) manager for the container.
| |||||||||||
Returns an unmodifiable list of the
Block objects managed by
this arrangement. | |||||||||||
Returns
true if there are no blocks in the container, and
false otherwise. | |||||||||||
Sets the arrangement (layout) manager.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates a new instance with default settings.
Creates a new instance with the specified arrangement.
arrangement | the arrangement manager (null not
permitted).
|
---|
Adds a block to the container.
block | the block (null permitted). |
---|---|
key | the key (null permitted).
|
Adds a block to the container.
block | the block (null permitted).
|
---|
Arranges the contents of the block, within the given constraints, and returns the block size.
g2 | the graphics device. |
---|---|
constraint | the constraint (null not permitted). |
null
).
Clears all the blocks from the container.
Returns a clone of the container.
CloneNotSupportedException | if there is a problem cloning. |
---|
Draws the block within the specified area.
g2 | the graphics device. |
---|---|
area | the area. |
params | passed on to blocks within the container
(null permitted). |
EntityBlockResult
, or null
.
Draws the container and all the blocks within it.
g2 | the graphics device. |
---|---|
area | the area. |
Tests this container for equality with an arbitrary object.
obj | the object (null permitted). |
---|
Returns the arrangement (layout) manager for the container.
null
).
Returns an unmodifiable list of the Block
objects managed by
this arrangement.
Returns true
if there are no blocks in the container, and
false
otherwise.
Sets the arrangement (layout) manager.
arrangement | the arrangement (null not permitted).
|
---|