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.
|
Modifier and Type | Field and Description |
---|---|
static RectangleConstraint |
RectangleConstraint.NONE
An instance representing no constraint.
|
Modifier and Type | Method and 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.
|
Modifier and Type | Method and Description |
---|---|
org.jfree.ui.Size2D |
GridArrangement.arrange(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the blocks within the specified container, subject to the given
constraint.
|
org.jfree.ui.Size2D |
FlowArrangement.arrange(BlockContainer container,
java.awt.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 |
ColumnArrangement.arrange(BlockContainer container,
java.awt.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 |
CenterArrangement.arrange(BlockContainer container,
java.awt.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 |
BorderArrangement.arrange(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the items in the specified container, subject to the given
constraint.
|
org.jfree.ui.Size2D |
Arrangement.arrange(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the blocks within the specified container, subject to the given
constraint.
|
org.jfree.ui.Size2D |
LabelBlock.arrange(java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
org.jfree.ui.Size2D |
EmptyBlock.arrange(java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
org.jfree.ui.Size2D |
ColorBlock.arrange(java.awt.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(java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
org.jfree.ui.Size2D |
Block.arrange(java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
org.jfree.ui.Size2D |
AbstractBlock.arrange(java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
protected org.jfree.ui.Size2D |
GridArrangement.arrangeFF(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the container with a fixed overall width and height.
|
protected org.jfree.ui.Size2D |
FlowArrangement.arrangeFF(BlockContainer container,
java.awt.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,
java.awt.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 |
CenterArrangement.arrangeFF(BlockContainer container,
java.awt.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 |
BorderArrangement.arrangeFF(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the items within a container.
|
protected org.jfree.ui.Size2D |
GridArrangement.arrangeFN(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arrange with a fixed width and a height within a given range.
|
protected org.jfree.ui.Size2D |
FlowArrangement.arrangeFN(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the blocks in the container with a fixed width and no height
constraint.
|
protected org.jfree.ui.Size2D |
CenterArrangement.arrangeFN(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the blocks in the container with a fixed width and no height
constraint.
|
protected org.jfree.ui.Size2D |
GridArrangement.arrangeFR(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arrange with a fixed width and a height within a given range.
|
protected org.jfree.ui.Size2D |
FlowArrangement.arrangeFR(BlockContainer container,
java.awt.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 |
CenterArrangement.arrangeFR(BlockContainer container,
java.awt.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 |
BorderArrangement.arrangeFR(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Performs an arrangement with a fixed width and a range for the height.
|
protected org.jfree.ui.Size2D |
GridArrangement.arrangeNF(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arrange with a fixed height and no constraint for the width.
|
protected org.jfree.ui.Size2D |
FlowArrangement.arrangeNF(BlockContainer container,
java.awt.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,
java.awt.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 |
CenterArrangement.arrangeNF(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the blocks with no width constraint and a fixed height
constraint.
|
protected org.jfree.ui.Size2D |
GridArrangement.arrangeNR(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arrange with a fixed height and no width constraint.
|
protected org.jfree.ui.Size2D |
GridArrangement.arrangeRF(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arrange with a fixed height and a width within a given range.
|
protected org.jfree.ui.Size2D |
FlowArrangement.arrangeRF(BlockContainer container,
java.awt.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,
java.awt.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 |
CenterArrangement.arrangeRF(BlockContainer container,
java.awt.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.arrangeRN(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arrange with a fixed width and no height constraint.
|
protected org.jfree.ui.Size2D |
FlowArrangement.arrangeRN(BlockContainer container,
java.awt.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 |
CenterArrangement.arrangeRN(BlockContainer container,
java.awt.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.arrangeRR(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arrange with ranges for both the width and height constraints.
|
protected org.jfree.ui.Size2D |
FlowArrangement.arrangeRR(BlockContainer container,
java.awt.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,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges a container with range constraints for both the horizontal
and vertical.
|
protected org.jfree.ui.Size2D |
CenterArrangement.arrangeRR(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the blocks with the overall width and height to fit within
specified ranges.
|
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.
|
Modifier and Type | Method and Description |
---|---|
org.jfree.ui.Size2D |
TextTitle.arrange(java.awt.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(java.awt.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 |
PaintScaleLegend.arrange(java.awt.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(java.awt.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(java.awt.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(java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
org.jfree.ui.Size2D |
CompositeTitle.arrange(java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|