Package | Description |
---|---|
org.jfree.chart | |
org.jfree.chart.axis | |
org.jfree.chart.block | |
org.jfree.chart.editor | |
org.jfree.chart.plot | |
org.jfree.chart.renderer.xy | |
org.jfree.chart.title | |
org.jfree.ui |
Modifier and Type | Method and Description |
---|---|
RectangleInsets |
StandardChartTheme.getAxisOffset()
Returns the axis offsets.
|
RectangleInsets |
JFreeChart.getPadding()
Returns the padding between the chart border and the chart drawing area.
|
Modifier and Type | Method and Description |
---|---|
void |
StandardChartTheme.setAxisOffset(RectangleInsets offset)
Sets the axis offset.
|
void |
JFreeChart.setPadding(RectangleInsets padding)
Sets the padding between the chart border and the chart drawing area,
and sends a
ChartChangeEvent to all registered listeners. |
Modifier and Type | Field and Description |
---|---|
static RectangleInsets |
Axis.DEFAULT_AXIS_LABEL_INSETS
The default axis label insets.
|
static RectangleInsets |
PeriodAxisLabelInfo.DEFAULT_INSETS
The default insets.
|
static RectangleInsets |
Axis.DEFAULT_TICK_LABEL_INSETS
The default tick label insets.
|
Modifier and Type | Method and Description |
---|---|
RectangleInsets |
Axis.getLabelInsets()
Returns the insets for the label (that is, the amount of blank space
that should be left around the label).
|
RectangleInsets |
PeriodAxisLabelInfo.getPadding()
Returns the padding for the band.
|
RectangleInsets |
Axis.getTickLabelInsets()
Returns the insets for the tick labels.
|
Modifier and Type | Method and Description |
---|---|
void |
Axis.setLabelInsets(RectangleInsets insets)
Sets the insets for the axis label, and sends an
AxisChangeEvent
to all registered listeners. |
void |
Axis.setLabelInsets(RectangleInsets insets,
boolean notify)
Sets the insets for the axis label, and sends an
AxisChangeEvent
to all registered listeners. |
void |
Axis.setTickLabelInsets(RectangleInsets insets)
Sets the insets for the tick labels and sends an
AxisChangeEvent
to all registered listeners. |
Constructor and Description |
---|
PeriodAxisLabelInfo(java.lang.Class periodClass,
java.text.DateFormat dateFormat,
RectangleInsets padding,
java.awt.Font labelFont,
java.awt.Paint labelPaint,
boolean drawDividers,
java.awt.Stroke dividerStroke,
java.awt.Paint dividerPaint)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
RectangleInsets |
LineBorder.getInsets()
Returns the insets.
|
RectangleInsets |
BlockBorder.getInsets()
Returns the space reserved for the border.
|
RectangleInsets |
BlockFrame.getInsets()
Returns the space reserved for the border.
|
RectangleInsets |
AbstractBlock.getMargin()
Returns the margin.
|
RectangleInsets |
AbstractBlock.getPadding()
Returns the padding.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractBlock.setMargin(RectangleInsets margin)
Sets the margin (use
ZERO_INSETS for no
padding). |
void |
AbstractBlock.setPadding(RectangleInsets padding)
Sets the padding (use
ZERO_INSETS for no
padding). |
Constructor and Description |
---|
BlockBorder(RectangleInsets insets,
java.awt.Paint paint)
Creates a new border.
|
LineBorder(java.awt.Paint paint,
java.awt.Stroke stroke,
RectangleInsets insets)
Creates a new border with the specified color.
|
Modifier and Type | Method and Description |
---|---|
RectangleInsets |
DefaultAxisEditor.getLabelInsets()
Returns the current label insets value
|
RectangleInsets |
DefaultPlotEditor.getPlotInsets()
Returns the current plot insets.
|
RectangleInsets |
DefaultAxisEditor.getTickLabelInsets()
Returns the current tick label insets value
|
Modifier and Type | Field and Description |
---|---|
static RectangleInsets |
Plot.DEFAULT_INSETS
The default insets.
|
Modifier and Type | Method and Description |
---|---|
RectangleInsets |
XYPlot.getAxisOffset()
Returns the axis offset.
|
RectangleInsets |
Plot.getInsets()
Returns the insets for the plot area.
|
RectangleInsets |
Marker.getLabelOffset()
Returns the label offset.
|
Modifier and Type | Method and Description |
---|---|
void |
XYPlot.setAxisOffset(RectangleInsets offset)
Sets the axis offsets (gap between the data area and the axes) and sends
a
PlotChangeEvent to all registered listeners. |
void |
Plot.setInsets(RectangleInsets insets)
Sets the insets for the plot and sends a
PlotChangeEvent to
all registered listeners. |
void |
Plot.setInsets(RectangleInsets insets,
boolean notify)
Sets the insets for the plot and, if requested, and sends a
PlotChangeEvent to all registered listeners. |
void |
Marker.setLabelOffset(RectangleInsets offset)
Sets the label offset and sends a
MarkerChangeEvent to all
registered listeners. |
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.
|
Modifier and Type | Field and Description |
---|---|
static RectangleInsets |
Title.DEFAULT_PADDING
Default title padding.
|
Modifier and Type | Method and Description |
---|---|
RectangleInsets |
LegendTitle.getItemLabelPadding()
Returns the padding used for the items labels.
|
RectangleInsets |
LegendTitle.getLegendItemGraphicPadding()
Returns the padding that will be applied to each item graphic.
|
Modifier and Type | Method and Description |
---|---|
void |
LegendTitle.setItemLabelPadding(RectangleInsets padding)
Sets the padding used for the item labels in the legend.
|
void |
LegendTitle.setLegendItemGraphicPadding(RectangleInsets padding)
Sets the padding that will be applied to each item graphic in the
legend and sends a
TitleChangeEvent to all registered listeners. |
Constructor and Description |
---|
TextTitle(java.lang.String text,
java.awt.Font font,
java.awt.Paint paint,
RectangleEdge position,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment,
RectangleInsets padding)
Creates a new title.
|
Title(RectangleEdge position,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment,
RectangleInsets padding)
Creates a new title.
|
Modifier and Type | Field and Description |
---|---|
static RectangleInsets |
RectangleInsets.ZERO_INSETS
A useful constant representing zero insets.
|