Uses of Class
org.jfree.chart.block.RectangleConstraint
-
Uses of RectangleConstraint in org.jfree.chart.block
Modifier and TypeFieldDescriptionstatic final RectangleConstraint
RectangleConstraint.NONE
An instance representing no constraint.Modifier and TypeMethodDescriptionprotected RectangleConstraint
AbstractBlock.toContentConstraint
(RectangleConstraint c) Returns a constraint for the content of this block that will result in the bounds of the block matching the specified constraint.RectangleConstraint.toFixedHeight
(double height) Returns a constraint that matches this one on the width attributes, but has a fixed height constraint.RectangleConstraint.toFixedWidth
(double width) Returns a constraint that matches this one on the height attributes, but has a fixed width constraint.RectangleConstraint.toRangeHeight
(Range range) Returns a constraint that matches this one on the width attributes, but has a range height constraint.RectangleConstraint.toRangeWidth
(Range range) Returns a constraint that matches this one on the height attributes, but has a range width constraint.RectangleConstraint.toUnconstrainedHeight()
Returns a constraint that matches this one on the width attributes, but has no height constraint.RectangleConstraint.toUnconstrainedWidth()
Returns a constraint that matches this one on the height attributes, but has no width constraint.Modifier and TypeMethodDescriptionAbstractBlock.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.Arrangement.arrange
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks within the specified container, subject to the given constraint.Block.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.BlockContainer.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.BorderArrangement.arrange
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the items in the specified container, subject to the given constraint.CenterArrangement.arrange
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Calculates and sets the bounds of all the items in the specified container, subject to the given constraint.ColorBlock.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.ColumnArrangement.arrange
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Calculates and sets the bounds of all the items in the specified container, subject to the given constraint.EmptyBlock.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.FlowArrangement.arrange
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Calculates and sets the bounds of all the items in the specified container, subject to the given constraint.GridArrangement.arrange
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks within the specified container, subject to the given constraint.LabelBlock.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.protected Size2D
BorderArrangement.arrangeFF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the items within a container.protected Size2D
CenterArrangement.arrangeFF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks in the container with the overall height and width specified as fixed constraints.protected Size2D
ColumnArrangement.arrangeFF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Calculates and sets the bounds of all the items in the specified container, subject to the given constraint.protected Size2D
FlowArrangement.arrangeFF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks in the container with the overall height and width specified as fixed constraints.protected Size2D
GridArrangement.arrangeFF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the container with a fixed overall width and height.protected Size2D
CenterArrangement.arrangeFN
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks in the container with a fixed width and no height constraint.protected Size2D
FlowArrangement.arrangeFN
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks in the container with a fixed width and no height constraint.protected Size2D
GridArrangement.arrangeFN
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arrange with a fixed width and a height within a given range.protected Size2D
BorderArrangement.arrangeFR
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Performs an arrangement with a fixed width and a range for the height.protected Size2D
CenterArrangement.arrangeFR
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks in the container with a fixed with and a range constraint on the height.protected Size2D
FlowArrangement.arrangeFR
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks in the container with a fixed width and a range constraint on the height.protected Size2D
GridArrangement.arrangeFR
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arrange with a fixed width and a height within a given range.protected Size2D
CenterArrangement.arrangeNF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks with no width constraint and a fixed height constraint.protected Size2D
ColumnArrangement.arrangeNF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Calculates and sets the bounds of all the items in the specified container, subject to the given constraint.protected Size2D
FlowArrangement.arrangeNF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks with no width constraint and a fixed height constraint.protected Size2D
GridArrangement.arrangeNF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arrange with a fixed height and no constraint for the width.protected Size2D
GridArrangement.arrangeNR
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arrange with a fixed height and no width constraint.protected Size2D
CenterArrangement.arrangeRF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks in the container with a range constraint on the width and a fixed height.protected Size2D
ColumnArrangement.arrangeRF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks in the container using a fixed height and a range for the width.protected Size2D
FlowArrangement.arrangeRF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks in the container with a range constraint on the width and a fixed height.protected Size2D
GridArrangement.arrangeRF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arrange with a fixed height and a width within a given range.protected Size2D
CenterArrangement.arrangeRN
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the block with a range constraint on the width, and no constraint on the height.protected Size2D
FlowArrangement.arrangeRN
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the block with a range constraint on the width, and no constraint on the height.protected Size2D
GridArrangement.arrangeRN
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arrange with a fixed width and no height constraint.protected Size2D
CenterArrangement.arrangeRR
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks with the overall width and height to fit within specified ranges.protected Size2D
ColumnArrangement.arrangeRR
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges a container with range constraints for both the horizontal and vertical.protected Size2D
FlowArrangement.arrangeRR
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks with the overall width and height to fit within specified ranges.protected Size2D
GridArrangement.arrangeRR
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arrange with ranges for both the width and height constraints.protected RectangleConstraint
AbstractBlock.toContentConstraint
(RectangleConstraint c) Returns a constraint for the content of this block that will result in the bounds of the block matching the specified constraint. -
Uses of RectangleConstraint in org.jfree.chart.title
Modifier and TypeMethodDescriptionCompositeTitle.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.ImageTitle.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.LegendGraphic.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.LegendTitle.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.PaintScaleLegend.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.ShortTextTitle.arrange
(Graphics2D g2, RectangleConstraint constraint) Performs a layout for this title, subject to the supplied constraint, and returns the dimensions required for the title (if the title cannot be displayed in the available space, this method will return zero width and height for the dimensions).TextTitle.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.