Package | Description |
---|---|
org.jfree.chart.annotations | |
org.jfree.chart.block | |
org.jfree.chart.plot | |
org.jfree.chart.renderer.xy | |
org.jfree.chart.title | |
org.jfree.ui | |
org.jfree.util |
Modifier and Type | Method and Description |
---|---|
RectangleAnchor |
XYTitleAnnotation.getTitleAnchor()
Returns the title anchor for the annotation.
|
Constructor and Description |
---|
XYTitleAnnotation(double x,
double y,
Title title,
RectangleAnchor anchor)
Creates a new annotation to be displayed at the specified (x, y)
location.
|
Modifier and Type | Method and Description |
---|---|
RectangleAnchor |
LabelBlock.getTextAnchor()
Returns the text anchor (never
null ). |
Modifier and Type | Method and Description |
---|---|
void |
LabelBlock.setTextAnchor(RectangleAnchor anchor)
Sets the text anchor.
|
Modifier and Type | Method and Description |
---|---|
RectangleAnchor |
Marker.getLabelAnchor()
Returns the label anchor.
|
Modifier and Type | Method and Description |
---|---|
void |
Marker.setLabelAnchor(RectangleAnchor anchor)
Sets the label anchor and sends a
MarkerChangeEvent to all
registered listeners. |
Modifier and Type | Method and Description |
---|---|
RectangleAnchor |
XYBlockRenderer.getBlockAnchor()
Returns the anchor point used to align a block at its (x, y) location.
|
Modifier and Type | Method and Description |
---|---|
protected java.awt.geom.Point2D |
AbstractXYItemRenderer.calculateDomainMarkerTextAnchorPoint(java.awt.Graphics2D g2,
PlotOrientation orientation,
java.awt.geom.Rectangle2D dataArea,
java.awt.geom.Rectangle2D markerArea,
RectangleInsets markerOffset,
LengthAdjustmentType labelOffsetType,
RectangleAnchor anchor)
Calculates the (x, y) coordinates for drawing a marker label.
|
void |
XYBlockRenderer.setBlockAnchor(RectangleAnchor anchor)
Sets the anchor point used to align a block at its (x, y) location and
sends a
RendererChangeEvent to all registered listeners. |
Modifier and Type | Method and Description |
---|---|
RectangleAnchor |
LegendTitle.getLegendItemGraphicAnchor()
Returns the legend item graphic anchor.
|
RectangleAnchor |
LegendTitle.getLegendItemGraphicLocation()
Returns the legend item graphic location.
|
RectangleAnchor |
LegendGraphic.getShapeAnchor()
Returns the shape anchor.
|
RectangleAnchor |
LegendGraphic.getShapeLocation()
Returns the shape location.
|
Modifier and Type | Method and Description |
---|---|
void |
LegendTitle.setLegendItemGraphicAnchor(RectangleAnchor anchor)
Sets the anchor point used for the graphic in each legend item.
|
void |
LegendTitle.setLegendItemGraphicLocation(RectangleAnchor anchor)
Sets the legend item graphic location.
|
void |
LegendGraphic.setShapeAnchor(RectangleAnchor anchor)
Sets the shape anchor.
|
void |
LegendGraphic.setShapeLocation(RectangleAnchor location)
Sets the shape location.
|
Modifier and Type | Field and Description |
---|---|
static RectangleAnchor |
RectangleAnchor.BOTTOM
Bottom.
|
static RectangleAnchor |
RectangleAnchor.BOTTOM_LEFT
Bottom-Left.
|
static RectangleAnchor |
RectangleAnchor.BOTTOM_RIGHT
Bottom-Right.
|
static RectangleAnchor |
RectangleAnchor.CENTER
Center.
|
static RectangleAnchor |
RectangleAnchor.LEFT
Left.
|
static RectangleAnchor |
RectangleAnchor.RIGHT
Right.
|
static RectangleAnchor |
RectangleAnchor.TOP
Top.
|
static RectangleAnchor |
RectangleAnchor.TOP_LEFT
Top-Left.
|
static RectangleAnchor |
RectangleAnchor.TOP_RIGHT
Top-Right.
|
Modifier and Type | Method and Description |
---|---|
static java.awt.geom.Point2D |
RectangleAnchor.coordinates(java.awt.geom.Rectangle2D rectangle,
RectangleAnchor anchor)
Returns the (x, y) coordinates of the specified anchor.
|
static java.awt.geom.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) . |
Modifier and Type | Method and Description |
---|---|
static java.awt.Shape |
ShapeUtilities.createTranslatedShape(java.awt.Shape shape,
RectangleAnchor anchor,
double locationX,
double locationY)
Translates a shape to a new location such that the anchor point
(relative to the rectangular bounds of the shape) aligns with the
specified (x, y) coordinate in Java2D space.
|