| java.lang.Object org.jfree.chart.block.GridArrangement
Constructor Summary | |
public | GridArrangement(int rows, int columns) Creates a new grid arrangement. |
Method Summary | |
public void | add(Block block, Object key) Adds a block and a key which can be used to determine the position of
the block in the arrangement. | public Size2D | arrange(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks within the specified container, subject to the given
constraint.
Parameters: container - the container. Parameters: constraint - the constraint. Parameters: g2 - the graphics device. | protected Size2D | arrangeFF(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the container with a fixed overall width and height.
Parameters: container - the container. Parameters: g2 - the graphics device. Parameters: constraint - the constraint. | protected Size2D | arrangeFN(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arrange with a fixed width and a height within a given range.
Parameters: container - the container. Parameters: g2 - the graphics device. Parameters: constraint - the constraint. | protected Size2D | arrangeFR(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arrange with a fixed width and a height within a given range.
Parameters: container - the container. Parameters: constraint - the constraint. Parameters: g2 - the graphics device. | protected Size2D | arrangeNN(BlockContainer container, Graphics2D g2) Arranges the container with no constraint on the width or height.
Parameters: container - the container. Parameters: g2 - the graphics device. | public void | clear() Clears any cached layout information retained by the arrangement. | public boolean | equals(Object obj) Compares this layout manager for equality with an arbitrary object.
Parameters: obj - the object. |
GridArrangement | public GridArrangement(int rows, int columns)(Code) | | Creates a new grid arrangement.
Parameters: rows - the row count. Parameters: columns - the column count. |
add | public void add(Block block, Object key)(Code) | | 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.
Parameters: block - the block. Parameters: key - the key (null permitted). |
arrange | public Size2D arrange(BlockContainer container, Graphics2D g2, RectangleConstraint constraint)(Code) | | Arranges the blocks within the specified container, subject to the given
constraint.
Parameters: container - the container. Parameters: constraint - the constraint. Parameters: g2 - the graphics device. The size following the arrangement. |
arrangeFF | protected Size2D arrangeFF(BlockContainer container, Graphics2D g2, RectangleConstraint constraint)(Code) | | Arranges the container with a fixed overall width and height.
Parameters: container - the container. Parameters: g2 - the graphics device. Parameters: constraint - the constraint. The size following the arrangement. |
arrangeFN | protected Size2D arrangeFN(BlockContainer container, Graphics2D g2, RectangleConstraint constraint)(Code) | | Arrange with a fixed width and a height within a given range.
Parameters: container - the container. Parameters: g2 - the graphics device. Parameters: constraint - the constraint. The size of the arrangement. |
arrangeFR | protected Size2D arrangeFR(BlockContainer container, Graphics2D g2, RectangleConstraint constraint)(Code) | | Arrange with a fixed width and a height within a given range.
Parameters: container - the container. Parameters: constraint - the constraint. Parameters: g2 - the graphics device. The size of the arrangement. |
arrangeNN | protected Size2D arrangeNN(BlockContainer container, Graphics2D g2)(Code) | | Arranges the container with no constraint on the width or height.
Parameters: container - the container. Parameters: g2 - the graphics device. The size. |
clear | public void clear()(Code) | | Clears any cached layout information retained by the arrangement.
|
equals | public boolean equals(Object obj)(Code) | | Compares this layout manager for equality with an arbitrary object.
Parameters: obj - the object. A boolean. |
|
|