Package | Description |
---|---|
org.jfree.chart.block |
Blocks and layout classes used extensively by the
LegendTitle class. |
org.jfree.chart.text |
Text-related classes formerly in the JCommon class library.
|
org.jfree.chart.title |
Classes used to display chart titles and subtitles.
|
org.jfree.chart.ui |
Modifier and Type | Method and Description |
---|---|
Size2D |
GridArrangement.arrange(BlockContainer container,
Graphics2D g2,
RectangleConstraint constraint)
Arranges the blocks within the specified container, subject to the given
constraint.
|
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 |
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 |
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 |
BorderArrangement.arrange(BlockContainer container,
Graphics2D g2,
RectangleConstraint constraint)
Arranges the items in the specified container, subject to the given
constraint.
|
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)
Arranges the contents of the block, with no constraints, and returns
the block size.
|
Size2D |
AbstractBlock.arrange(Graphics2D g2)
Arranges the contents of the block, with no constraints, and returns
the block size.
|
Size2D |
LabelBlock.arrange(Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
Size2D |
EmptyBlock.arrange(Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
Size2D |
ColorBlock.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 |
Block.arrange(Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
Size2D |
AbstractBlock.arrange(Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
protected Size2D |
GridArrangement.arrangeFF(BlockContainer container,
Graphics2D g2,
RectangleConstraint constraint)
Arranges the container with a fixed overall width and height.
|
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 |
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 |
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 |
BorderArrangement.arrangeFF(BlockContainer container,
Graphics2D g2,
RectangleConstraint constraint)
Arranges the items within a container.
|
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 |
GridArrangement.arrangeFN(BlockContainer container,
Graphics2D g2,
RectangleConstraint constraint)
Arrange with a fixed width and a height within a given range.
|
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 |
CenterArrangement.arrangeFN(BlockContainer container,
Graphics2D g2,
RectangleConstraint constraint)
Arranges the blocks in the container with a fixed width and no height
constraint.
|
protected Size2D |
GridArrangement.arrangeFR(BlockContainer container,
Graphics2D g2,
RectangleConstraint constraint)
Arrange with a fixed width and a height within a given range.
|
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 |
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 |
BorderArrangement.arrangeFR(BlockContainer container,
Graphics2D g2,
RectangleConstraint constraint)
Performs an arrangement with a fixed width and a range for the height.
|
protected Size2D |
GridArrangement.arrangeNF(BlockContainer container,
Graphics2D g2,
RectangleConstraint constraint)
Arrange with a fixed height and no constraint for the width.
|
protected Size2D |
FlowArrangement.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 |
CenterArrangement.arrangeNF(BlockContainer container,
Graphics2D g2,
RectangleConstraint constraint)
Arranges the blocks with no width constraint and a fixed height
constraint.
|
protected Size2D |
GridArrangement.arrangeNN(BlockContainer container,
Graphics2D g2)
Arranges the container with no constraint on the width or height.
|
protected Size2D |
FlowArrangement.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 |
CenterArrangement.arrangeNN(BlockContainer container,
Graphics2D g2)
Arranges the blocks without any constraints.
|
protected Size2D |
BorderArrangement.arrangeNN(BlockContainer container,
Graphics2D g2)
Performs an arrangement without constraints.
|
protected Size2D |
GridArrangement.arrangeNR(BlockContainer container,
Graphics2D g2,
RectangleConstraint constraint)
Arrange with a fixed height and no width constraint.
|
protected Size2D |
GridArrangement.arrangeRF(BlockContainer container,
Graphics2D g2,
RectangleConstraint constraint)
Arrange with a fixed height and a width within a given range.
|
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 |
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 |
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 |
GridArrangement.arrangeRN(BlockContainer container,
Graphics2D g2,
RectangleConstraint constraint)
Arrange with a fixed width and no height constraint.
|
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 |
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 |
GridArrangement.arrangeRR(BlockContainer container,
Graphics2D g2,
RectangleConstraint constraint)
Arrange with ranges for both the width and height constraints.
|
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 |
ColumnArrangement.arrangeRR(BlockContainer container,
Graphics2D g2,
RectangleConstraint constraint)
Arranges a container with range constraints for both the horizontal
and vertical.
|
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 |
BorderArrangement.arrangeRR(BlockContainer container,
Range widthRange,
Range heightRange,
Graphics2D g2)
Performs an arrangement with range constraints on both the vertical
and horizontal sides.
|
Size2D |
RectangleConstraint.calculateConstrainedSize(Size2D base)
Returns the new size that reflects the constraints defined by this
instance.
|
Modifier and Type | Method and Description |
---|---|
Size2D |
RectangleConstraint.calculateConstrainedSize(Size2D base)
Returns the new size that reflects the constraints defined by this
instance.
|
Modifier and Type | Method and Description |
---|---|
Size2D |
TextLine.calculateDimensions(Graphics2D g2)
Calculates the width and height of the text line.
|
Size2D |
TextFragment.calculateDimensions(Graphics2D g2)
Calculates the dimensions of the text fragment.
|
Size2D |
TextBlock.calculateDimensions(Graphics2D g2)
Returns the width and height of the text block.
|
Modifier and Type | Method and Description |
---|---|
Size2D |
TextTitle.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 |
PaintScaleLegend.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 |
LegendGraphic.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 |
CompositeTitle.arrange(Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block 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 |
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.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.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 |
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 |
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 |
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.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 |
PaintScaleLegend.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).
|
Modifier and Type | Method and Description |
---|---|
static 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) . |
Copyright © 2001–2017 JFree.org. All rights reserved.