Uses of Class
org.jfree.chart.block.RectangleConstraint
Packages that use RectangleConstraint
Package
Description
Blocks and layout classes used extensively by the
LegendTitle
class.Classes used to display chart titles and subtitles.
-
Uses of RectangleConstraint in org.jfree.chart.block
Fields in org.jfree.chart.block declared as RectangleConstraintModifier and TypeFieldDescriptionstatic final RectangleConstraint
RectangleConstraint.NONE
An instance representing no constraint.Methods in org.jfree.chart.block that return RectangleConstraintModifier 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.Methods in org.jfree.chart.block with parameters of type RectangleConstraintModifier and TypeMethodDescriptionorg.jfree.ui.Size2D
AbstractBlock.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.org.jfree.ui.Size2D
Arrangement.arrange
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks within the specified container, subject to the given constraint.org.jfree.ui.Size2D
Block.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.org.jfree.ui.Size2D
BlockContainer.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.org.jfree.ui.Size2D
BorderArrangement.arrange
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the items in the specified container, subject to the given constraint.org.jfree.ui.Size2D
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.org.jfree.ui.Size2D
ColorBlock.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.org.jfree.ui.Size2D
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.org.jfree.ui.Size2D
EmptyBlock.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.org.jfree.ui.Size2D
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.org.jfree.ui.Size2D
GridArrangement.arrange
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks within the specified container, subject to the given constraint.org.jfree.ui.Size2D
LabelBlock.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.protected org.jfree.ui.Size2D
BorderArrangement.arrangeFF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the items within a container.protected org.jfree.ui.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 org.jfree.ui.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 org.jfree.ui.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 org.jfree.ui.Size2D
GridArrangement.arrangeFF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the container with a fixed overall width and height.protected org.jfree.ui.Size2D
CenterArrangement.arrangeFN
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks in the container with a fixed width and no height constraint.protected org.jfree.ui.Size2D
FlowArrangement.arrangeFN
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks in the container with a fixed width and no height constraint.protected org.jfree.ui.Size2D
GridArrangement.arrangeFN
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arrange with a fixed width and a height within a given range.protected org.jfree.ui.Size2D
BorderArrangement.arrangeFR
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Performs an arrangement with a fixed width and a range for the height.protected org.jfree.ui.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 org.jfree.ui.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 org.jfree.ui.Size2D
GridArrangement.arrangeFR
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arrange with a fixed width and a height within a given range.protected org.jfree.ui.Size2D
CenterArrangement.arrangeNF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks with no width constraint and a fixed height constraint.protected org.jfree.ui.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 org.jfree.ui.Size2D
FlowArrangement.arrangeNF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks with no width constraint and a fixed height constraint.protected org.jfree.ui.Size2D
GridArrangement.arrangeNF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arrange with a fixed height and no constraint for the width.protected org.jfree.ui.Size2D
GridArrangement.arrangeNR
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arrange with a fixed height and no width constraint.protected org.jfree.ui.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 org.jfree.ui.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 org.jfree.ui.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 org.jfree.ui.Size2D
GridArrangement.arrangeRF
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arrange with a fixed height and a width within a given range.protected org.jfree.ui.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 org.jfree.ui.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 org.jfree.ui.Size2D
GridArrangement.arrangeRN
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arrange with a fixed width and no height constraint.protected org.jfree.ui.Size2D
CenterArrangement.arrangeRR
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks with the overall width and height to fit within specified ranges.protected org.jfree.ui.Size2D
ColumnArrangement.arrangeRR
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges a container with range constraints for both the horizontal and vertical.protected org.jfree.ui.Size2D
FlowArrangement.arrangeRR
(BlockContainer container, Graphics2D g2, RectangleConstraint constraint) Arranges the blocks with the overall width and height to fit within specified ranges.protected org.jfree.ui.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
Methods in org.jfree.chart.title with parameters of type RectangleConstraintModifier and TypeMethodDescriptionorg.jfree.ui.Size2D
CompositeTitle.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.org.jfree.ui.Size2D
ImageTitle.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.org.jfree.ui.Size2D
LegendGraphic.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.org.jfree.ui.Size2D
LegendTitle.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.org.jfree.ui.Size2D
PaintScaleLegend.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.org.jfree.ui.Size2D
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).org.jfree.ui.Size2D
TextTitle.arrange
(Graphics2D g2, RectangleConstraint constraint) Arranges the contents of the block, within the given constraints, and returns the block size.