Uses of Class
org.jfree.chart.block.RectangleConstraint
Package | Description |
---|---|
org.jfree.chart.block |
Blocks and layout classes used extensively by the
LegendTitle class. |
org.jfree.chart.title |
Classes used to display chart titles and subtitles.
|
-
Uses of RectangleConstraint in org.jfree.chart.block
Fields in org.jfree.chart.block declared as RectangleConstraint Modifier and Type Field Description static RectangleConstraint
RectangleConstraint. NONE
An instance representing no constraint.Methods in org.jfree.chart.block that return RectangleConstraint Modifier and Type Method Description 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.RectangleConstraint
RectangleConstraint. toFixedHeight(double height)
Returns a constraint that matches this one on the width attributes, but has a fixed height constraint.RectangleConstraint
RectangleConstraint. toFixedWidth(double width)
Returns a constraint that matches this one on the height attributes, but has a fixed width constraint.RectangleConstraint
RectangleConstraint. toRangeHeight(Range range)
Returns a constraint that matches this one on the width attributes, but has a range height constraint.RectangleConstraint
RectangleConstraint. toRangeWidth(Range range)
Returns a constraint that matches this one on the height attributes, but has a range width constraint.RectangleConstraint
RectangleConstraint. toUnconstrainedHeight()
Returns a constraint that matches this one on the width attributes, but has no height constraint.RectangleConstraint
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 RectangleConstraint Modifier and Type Method Description Size2D
AbstractBlock. arrange(Graphics2D g2, RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and returns the block size.Size2D
Arrangement. arrange(BlockContainer container, Graphics2D g2, RectangleConstraint constraint)
Arranges the blocks within the specified container, subject to the given constraint.Size2D
Block. arrange(Graphics2D g2, RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and returns the block size.Size2D
BlockContainer. arrange(Graphics2D g2, RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and returns the block size.Size2D
BorderArrangement. arrange(BlockContainer container, Graphics2D g2, RectangleConstraint constraint)
Arranges the items in the specified container, subject to the given constraint.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.Size2D
ColorBlock. arrange(Graphics2D g2, RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and returns the block size.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.Size2D
EmptyBlock. arrange(Graphics2D g2, RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and returns the block size.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.Size2D
GridArrangement. arrange(BlockContainer container, Graphics2D g2, RectangleConstraint constraint)
Arranges the blocks within the specified container, subject to the given constraint.Size2D
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
Methods in org.jfree.chart.title with parameters of type RectangleConstraint Modifier and Type Method Description Size2D
CompositeTitle. arrange(Graphics2D g2, RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and returns the block size.Size2D
ImageTitle. arrange(Graphics2D g2, RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and returns the block size.Size2D
LegendGraphic. arrange(Graphics2D g2, RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and returns the block size.Size2D
LegendTitle. arrange(Graphics2D g2, RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and returns the block size.Size2D
PaintScaleLegend. arrange(Graphics2D g2, RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and returns the block size.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).Size2D
TextTitle. arrange(Graphics2D g2, RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and returns the block size.