Package | Description |
---|---|
org.jfree.chart |
Core classes, including
JFreeChart and
ChartPanel . |
org.jfree.chart.axis |
Axis classes and interfaces.
|
org.jfree.chart.block |
Blocks and layout classes used extensively by the
LegendTitle class. |
org.jfree.chart.plot |
Plot classes and related interfaces.
|
org.jfree.chart.plot.dial |
Classes for creating dial plots.
|
org.jfree.chart.renderer.category |
Plug-in renderers for the
CategoryPlot class. |
org.jfree.chart.renderer.xy |
Plug-in renderers for the
XYPlot 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 |
---|---|
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(Class periodClass,
DateFormat dateFormat,
RectangleInsets padding,
Font labelFont,
Paint labelPaint,
boolean drawDividers,
Stroke dividerStroke,
Paint dividerPaint)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
RectangleInsets |
LineBorder.getInsets()
Returns the insets.
|
RectangleInsets |
BlockFrame.getInsets()
Returns the space reserved for the border.
|
RectangleInsets |
BlockBorder.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,
Paint paint)
Creates a new border.
|
LineBorder(Paint paint,
Stroke stroke,
RectangleInsets insets)
Creates a new border with the specified color.
|
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 |
CategoryPlot.getAxisOffset()
Returns the axis offset.
|
RectangleInsets |
Plot.getInsets()
Returns the insets for the plot area.
|
RectangleInsets |
Marker.getLabelOffset()
Returns the label offset.
|
RectangleInsets |
PiePlot.getLabelPadding()
Returns the label padding.
|
RectangleInsets |
ThermometerPlot.getPadding()
Returns the padding for the thermometer.
|
RectangleInsets |
PiePlot.getSimpleLabelOffset()
Returns the offset used for the simple labels, if they are displayed.
|
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 |
CategoryPlot.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. |
void |
PiePlot.setLabelPadding(RectangleInsets padding)
Sets the padding between each label and its outline and sends a
PlotChangeEvent to all registered listeners. |
void |
ThermometerPlot.setPadding(RectangleInsets padding)
Sets the padding for the thermometer and sends a
PlotChangeEvent
to all registered listeners. |
void |
PiePlot.setSimpleLabelOffset(RectangleInsets offset)
Sets the offset for the simple labels and sends a
PlotChangeEvent to all registered listeners. |
Modifier and Type | Method and Description |
---|---|
RectangleInsets |
DialValueIndicator.getInsets()
Returns the insets.
|
Modifier and Type | Method and Description |
---|---|
void |
DialValueIndicator.setInsets(RectangleInsets insets)
Sets the insets and sends a
DialLayerChangeEvent to all
registered listeners. |
Modifier and Type | Method and Description |
---|---|
protected Point2D |
AbstractCategoryItemRenderer.calculateDomainMarkerTextAnchorPoint(Graphics2D g2,
PlotOrientation orientation,
Rectangle2D dataArea,
Rectangle2D markerArea,
RectangleInsets markerOffset,
LengthAdjustmentType labelOffsetType,
RectangleAnchor anchor)
Calculates the
(x, y) coordinates for drawing the label for a
marker on the range axis. |
protected Point2D |
AbstractCategoryItemRenderer.calculateRangeMarkerTextAnchorPoint(Graphics2D g2,
PlotOrientation orientation,
Rectangle2D dataArea,
Rectangle2D markerArea,
RectangleInsets markerOffset,
LengthAdjustmentType labelOffsetType,
RectangleAnchor anchor)
Calculates the (x, y) coordinates for drawing a marker label.
|
Modifier and Type | Method and Description |
---|---|
protected Point2D |
AbstractXYItemRenderer.calculateDomainMarkerTextAnchorPoint(Graphics2D g2,
PlotOrientation orientation,
Rectangle2D dataArea,
Rectangle2D markerArea,
RectangleInsets markerOffset,
LengthAdjustmentType labelOffsetType,
RectangleAnchor anchor)
Calculates the
(x, y) coordinates for drawing a marker label. |
Modifier and Type | Method and Description |
---|---|
RectangleInsets |
TextBox.getInteriorGap()
Returns the interior gap.
|
Modifier and Type | Method and Description |
---|---|
void |
TextBox.setInteriorGap(RectangleInsets gap)
Sets the interior gap.
|
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 |
---|
DateTitle(int style,
Locale locale,
Font font,
Paint paint,
RectangleEdge position,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment,
RectangleInsets padding)
Creates a new chart title that displays the current date.
|
ImageTitle(Image image,
int height,
int width,
RectangleEdge position,
HorizontalAlignment horizontalAlignment,
VerticalAlignment verticalAlignment,
RectangleInsets padding)
Creates a new image title with the given image scaled to the given
width and height in the given location.
|
TextTitle(String text,
Font font,
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.
|
Copyright © 2001–2017 JFree.org. All rights reserved.