java.lang.Object | |
↳ | org.jfree.chart.block.GridArrangement |
Arranges blocks in a grid within their container.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new grid arrangement.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Adds a block and a key which can be used to determine the position of
the block in the arrangement.
| |||||||||||
Arranges the blocks within the specified container, subject to the given
constraint.
| |||||||||||
Clears any cached layout information retained by the arrangement.
| |||||||||||
Compares this layout manager for equality with an arbitrary object.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Arranges the container with a fixed overall width and height.
| |||||||||||
Arrange with a fixed width and a height within a given range.
| |||||||||||
Arrange with a fixed width and a height within a given range.
| |||||||||||
Arrange with a fixed height and no constraint for the width.
| |||||||||||
Arranges the container with no constraint on the width or height.
| |||||||||||
Arrange with a fixed height and no width constraint.
| |||||||||||
Arrange with a fixed height and a width within a given range.
| |||||||||||
Arrange with a fixed width and no height constraint.
| |||||||||||
Arrange with ranges for both the width and height constraints.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() |
Creates a new grid arrangement.
rows | the row count. |
---|---|
columns | the column count. |
Adds a block and a key which can be used to determine the position of the block in the arrangement. This method is called by the container (you don't need to call this method directly) and gives the arrangement an opportunity to record the details if they are required.
block | the block. |
---|---|
key | the key (null permitted).
|
Arranges the blocks within the specified container, subject to the given constraint.
container | the container (null not permitted). |
---|---|
g2 | the graphics device. |
constraint | the constraint. |
Clears any cached layout information retained by the arrangement.
Compares this layout manager for equality with an arbitrary object.
obj | the object. |
---|
Arranges the container with a fixed overall width and height.
container | the container (null not permitted). |
---|---|
g2 | the graphics device. |
constraint | the constraint (null not permitted). |
Arrange with a fixed width and a height within a given range.
container | the container. |
---|---|
g2 | the graphics device. |
constraint | the constraint. |
Arrange with a fixed width and a height within a given range.
container | the container. |
---|---|
g2 | the graphics device. |
constraint | the constraint. |
Arrange with a fixed height and no constraint for the width.
container | the container. |
---|---|
g2 | the graphics device. |
constraint | the constraint. |
Arranges the container with no constraint on the width or height.
container | the container (null not permitted). |
---|---|
g2 | the graphics device. |
Arrange with a fixed height and no width constraint.
container | the container. |
---|---|
g2 | the graphics device. |
constraint | the constraint. |
Arrange with a fixed height and a width within a given range.
container | the container. |
---|---|
g2 | the graphics device. |
constraint | the constraint. |
Arrange with a fixed width and no height constraint.
container | the container. |
---|---|
g2 | the graphics device. |
constraint | the constraint. |
Arrange with ranges for both the width and height constraints.
container | the container. |
---|---|
g2 | the graphics device. |
constraint | the constraint. |