org.jfree.chart.block.Block |
![]() |
A block is an arbitrary item that can be drawn (in Java2D space) within a
rectangular area, has a preferred size, and can be arranged by an
Arrangement
manager.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Arranges the contents of the block, within the given constraints, and
returns the block size.
| |||||||||||
Arranges the contents of the block, with no constraints, and returns
the block size.
| |||||||||||
Draws the block within the specified area.
| |||||||||||
Returns the current bounds of the block.
| |||||||||||
Returns an ID for the block.
| |||||||||||
Sets the bounds of the block.
| |||||||||||
Sets the ID for the block.
|
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
).
Arranges the contents of the block, with no constraints, and returns the block size.
g2 | the graphics device. |
---|
Draws the block within the specified area. Refer to the documentation
for the implementing class for information about the params
and return value supported.
g2 | the graphics device. |
---|---|
area | the area. |
params | optional parameters (null permitted). |
null
).
Returns the current bounds of the block.
Sets the bounds of the block.
bounds | the bounds. |
---|