Uses of Class
org.jfree.chart.ui.RectangleInsets
Package
Description
Text-related classes formerly in the JCommon class library.
-
Uses of RectangleInsets in org.jfree.chart
Modifier and TypeMethodDescriptionStandardChartTheme.getAxisOffset()
Returns the axis offsets.JFreeChart.getPadding()
Returns the padding between the chart border and the chart drawing area.Modifier and TypeMethodDescriptionvoid
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 aChartChangeEvent
to all registered listeners. -
Uses of RectangleInsets in org.jfree.chart.axis
Modifier and TypeFieldDescriptionstatic final RectangleInsets
The default axis label insets (RectangleInsets(3.0, 3.0, 3.0, 3.0)
).static final RectangleInsets
PeriodAxisLabelInfo.DEFAULT_INSETS
The default insets.static final RectangleInsets
The default tick label insets (RectangleInsets(2.0, 4.0, 2.0, 4.0)
).Modifier and TypeMethodDescriptionAxis.getLabelInsets()
Returns the insets for the label (that is, the amount of blank space that should be left around the label).PeriodAxisLabelInfo.getPadding()
Returns the padding for the band.Axis.getTickLabelInsets()
Returns the insets for the tick labels.Modifier and TypeMethodDescriptionvoid
Axis.setLabelInsets
(RectangleInsets insets) Sets the insets for the axis label, and sends anAxisChangeEvent
to all registered listeners.void
Axis.setLabelInsets
(RectangleInsets insets, boolean notify) Sets the insets for the axis label, and sends anAxisChangeEvent
to all registered listeners.void
Axis.setTickLabelInsets
(RectangleInsets insets) Sets the insets for the tick labels and sends anAxisChangeEvent
to all registered listeners.ModifierConstructorDescriptionPeriodAxisLabelInfo
(Class periodClass, DateFormat dateFormat, RectangleInsets padding, Font labelFont, Paint labelPaint, boolean drawDividers, Stroke dividerStroke, Paint dividerPaint) Creates a new instance. -
Uses of RectangleInsets in org.jfree.chart.block
Modifier and TypeMethodDescriptionBlockBorder.getInsets()
Returns the space reserved for the border.BlockFrame.getInsets()
Returns the space reserved for the border.LineBorder.getInsets()
Returns the insets.AbstractBlock.getMargin()
Returns the margin.AbstractBlock.getPadding()
Returns the padding.Modifier and TypeMethodDescriptionvoid
AbstractBlock.setMargin
(RectangleInsets margin) Sets the margin (useZERO_INSETS
for no padding).void
AbstractBlock.setPadding
(RectangleInsets padding) Sets the padding (useZERO_INSETS
for no padding).ModifierConstructorDescriptionBlockBorder
(RectangleInsets insets, Paint paint) Creates a new border.LineBorder
(Paint paint, Stroke stroke, RectangleInsets insets) Creates a new border with the specified color. -
Uses of RectangleInsets in org.jfree.chart.plot
Modifier and TypeFieldDescriptionstatic final RectangleInsets
Plot.DEFAULT_INSETS
The default insets.Modifier and TypeMethodDescriptionCategoryPlot.getAxisOffset()
Returns the axis offset.XYPlot.getAxisOffset()
Returns the axis offset.Plot.getInsets()
Returns the insets for the plot area.Marker.getLabelOffset()
Returns the label offset.PiePlot.getLabelPadding()
Returns the label padding.ThermometerPlot.getPadding()
Returns the padding for the thermometer.PiePlot.getSimpleLabelOffset()
Returns the offset used for the simple labels, if they are displayed.Modifier and TypeMethodDescriptionvoid
CategoryPlot.setAxisOffset
(RectangleInsets offset) Sets the axis offsets (gap between the data area and the axes) and sends aPlotChangeEvent
to all registered listeners.void
XYPlot.setAxisOffset
(RectangleInsets offset) Sets the axis offsets (gap between the data area and the axes) and sends aPlotChangeEvent
to all registered listeners.void
Plot.setInsets
(RectangleInsets insets) Sets the insets for the plot and sends aPlotChangeEvent
to all registered listeners.void
Plot.setInsets
(RectangleInsets insets, boolean notify) Sets the insets for the plot and, if requested, and sends aPlotChangeEvent
to all registered listeners.void
Marker.setLabelOffset
(RectangleInsets offset) Sets the label offset and sends aMarkerChangeEvent
to all registered listeners.void
PiePlot.setLabelPadding
(RectangleInsets padding) Sets the padding between each label and its outline and sends aPlotChangeEvent
to all registered listeners.void
ThermometerPlot.setPadding
(RectangleInsets padding) Sets the padding for the thermometer and sends aPlotChangeEvent
to all registered listeners.void
PiePlot.setSimpleLabelOffset
(RectangleInsets offset) Sets the offset for the simple labels and sends aPlotChangeEvent
to all registered listeners. -
Uses of RectangleInsets in org.jfree.chart.plot.dial
Modifier and TypeMethodDescriptionvoid
DialValueIndicator.setInsets
(RectangleInsets insets) Sets the insets and sends aDialLayerChangeEvent
to all registered listeners. -
Uses of RectangleInsets in org.jfree.chart.renderer.category
Modifier and TypeMethodDescriptionprotected 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. -
Uses of RectangleInsets in org.jfree.chart.renderer.xy
Modifier and TypeMethodDescriptionprotected 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. -
Uses of RectangleInsets in org.jfree.chart.text
Modifier and TypeMethodDescriptionvoid
TextBox.setInteriorGap
(RectangleInsets gap) Sets the interior gap. -
Uses of RectangleInsets in org.jfree.chart.title
Modifier and TypeFieldDescriptionstatic final RectangleInsets
Title.DEFAULT_PADDING
Default title padding.Modifier and TypeMethodDescriptionLegendTitle.getItemLabelPadding()
Returns the padding used for the items labels.LegendTitle.getLegendItemGraphicPadding()
Returns the padding that will be applied to each item graphic.Modifier and TypeMethodDescriptionvoid
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 aTitleChangeEvent
to all registered listeners.ModifierConstructorDescriptionDateTitle
(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.protected
Title
(RectangleEdge position, HorizontalAlignment horizontalAlignment, VerticalAlignment verticalAlignment, RectangleInsets padding) Creates a new title. -
Uses of RectangleInsets in org.jfree.chart.ui
Modifier and TypeFieldDescriptionstatic final RectangleInsets
RectangleInsets.ZERO_INSETS
A useful constant representing zero insets.