Uses of Class
org.jfree.chart.ui.Size2D
Package
Description
Text-related classes formerly in the JCommon class library.
-
Uses of Size2D in org.jfree.chart.block
Modifier and TypeMethodDescriptionAbstractBlock.arrange
(Graphics2D g2) Arranges the contents of the block, with no constraints, and returns the block size.AbstractBlock.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) Arranges the contents of the block, with no constraints, and returns the block size.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
BorderArrangement.arrangeFN
(BlockContainer container, Graphics2D g2, double width) Arranges the container width a fixed width and no constraint on the 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
BorderArrangement.arrangeNN
(BlockContainer container, Graphics2D g2) Performs an arrangement without constraints.protected Size2D
CenterArrangement.arrangeNN
(BlockContainer container, Graphics2D g2) Arranges the blocks without any constraints.protected Size2D
ColumnArrangement.arrangeNN
(BlockContainer container, Graphics2D g2) Arranges the blocks without any constraints.protected Size2D
FlowArrangement.arrangeNN
(BlockContainer container, Graphics2D g2) Arranges the blocks without any constraints.protected Size2D
GridArrangement.arrangeNN
(BlockContainer container, Graphics2D g2) Arranges the container with no constraint on the width or height.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
BorderArrangement.arrangeRR
(BlockContainer container, Range widthRange, Range heightRange, Graphics2D g2) Performs an arrangement with range constraints on both the vertical and horizontal sides.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.RectangleConstraint.calculateConstrainedSize
(Size2D base) Returns the new size that reflects the constraints defined by this instance.Modifier and TypeMethodDescriptionRectangleConstraint.calculateConstrainedSize
(Size2D base) Returns the new size that reflects the constraints defined by this instance. -
Uses of Size2D in org.jfree.chart.text
Modifier and TypeMethodDescriptionTextBlock.calculateDimensions
(Graphics2D g2) Returns the width and height of the text block.TextFragment.calculateDimensions
(Graphics2D g2) Calculates the dimensions of the text fragment.TextLine.calculateDimensions
(Graphics2D g2) Calculates the width and height of the text line. -
Uses of Size2D 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.protected Size2D
ShortTextTitle.arrangeFN
(Graphics2D g2, double w) Arranges the content for this title assuming a fixed width and no bounds on the height, and returns the required size.protected Size2D
TextTitle.arrangeFN
(Graphics2D g2, double w) Arranges the content for this title assuming a fixed width and no bounds on the height, and returns the required size.protected Size2D
LegendGraphic.arrangeNN
(Graphics2D g2) Performs the layout with no constraint, so the content size is determined by the bounds of the shape and/or line drawn to represent the series.protected Size2D
ShortTextTitle.arrangeNN
(Graphics2D g2) Arranges the content for this title assuming no bounds on the width or the height, and returns the required size.protected Size2D
TextTitle.arrangeNN
(Graphics2D g2) Arranges the content for this title assuming no bounds on the width or the height, and returns the required size.protected Size2D
ShortTextTitle.arrangeRN
(Graphics2D g2, Range widthRange) Arranges the content for this title assuming a range constraint for the width and no bounds on the height, and returns the required size.protected Size2D
TextTitle.arrangeRN
(Graphics2D g2, Range widthRange) Arranges the content for this title assuming a range constraint for the width and no bounds on the height, and returns the required size.protected Size2D
PaintScaleLegend.arrangeRR
(Graphics2D g2, Range widthRange, Range heightRange) Returns the content size for the title.protected Size2D
ShortTextTitle.arrangeRR
(Graphics2D g2, Range widthRange, Range heightRange) Returns the content size for the title.protected Size2D
TextTitle.arrangeRR
(Graphics2D g2, Range widthRange, Range heightRange) Returns the content size for the title.protected Size2D
ImageTitle.drawHorizontal
(Graphics2D g2, Rectangle2D chartArea) Draws the title on a Java 2D graphics device (such as the screen or a printer).protected Size2D
ImageTitle.drawVertical
(Graphics2D g2, Rectangle2D chartArea) Draws the title on a Java 2D graphics device (such as the screen or a printer). -
Uses of Size2D in org.jfree.chart.ui
Modifier and TypeMethodDescriptionstatic Rectangle2D
RectangleAnchor.createRectangle
(Size2D dimensions, double anchorX, double anchorY, RectangleAnchor anchor) Creates a new rectangle with the specified dimensions that is aligned to the given anchor point(anchorX, anchorY)
.