Package | Description |
---|---|
org.jfree.chart.block | |
org.jfree.chart.title |
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 |
---|---|
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.
|
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.
|
Size2D |
Arrangement.arrange(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the blocks within the specified container, subject to the given
constraint.
|
Size2D |
BorderArrangement.arrange(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the items in the specified container, subject to the given
constraint.
|
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.
|
Size2D |
LabelBlock.arrange(java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
Size2D |
Block.arrange(java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
Size2D |
AbstractBlock.arrange(java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
Size2D |
BlockContainer.arrange(java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
protected 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 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 Size2D |
BorderArrangement.arrangeFF(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the items within a container.
|
protected 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 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 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 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 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 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 Size2D |
CenterArrangement.arrangeNF(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the blocks with no width constraint and a fixed height
constraint.
|
protected Size2D |
FlowArrangement.arrangeNF(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the blocks with no width constraint and a fixed height
constraint.
|
protected 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 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 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 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 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 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 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 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 Size2D |
ColumnArrangement.arrangeRR(BlockContainer container,
java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges a container with range constraints for both the horizontal
and vertical.
|
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 |
---|---|
Size2D |
LegendGraphic.arrange(java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
Size2D |
TextTitle.arrange(java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
Size2D |
LegendTitle.arrange(java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
Size2D |
CompositeTitle.arrange(java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|
Size2D |
PaintScaleLegend.arrange(java.awt.Graphics2D g2,
RectangleConstraint constraint)
Arranges the contents of the block, within the given constraints, and
returns the block size.
|