Java org.jfree.chart.plot Plot fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.chart.plot Plot fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.chart.plot Plot.

The text is from its open source code.

Subclass

org.jfree.chart.plot.Plot has subclasses.
Click this link to see all its subclasses.

Field

RectangleInsetsDEFAULT_INSETS
The default insets.
StrokeDEFAULT_OUTLINE_STROKE
The default outline stroke.
PaintDEFAULT_OUTLINE_PAINT
The default outline color.
floatDEFAULT_FOREGROUND_ALPHA
The default foreground alpha transparency.
floatDEFAULT_BACKGROUND_ALPHA
The default background alpha transparency.
PaintDEFAULT_BACKGROUND_PAINT
The default background color.
ShapeDEFAULT_LEGEND_ITEM_BOX
A default box shape for legend items.

Constructor

Plot()
Creates a new plot.

Method

voiddraw(Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState parentState, PlotRenderingInfo info)
Draws the plot within the specified area.
PaintgetBackgroundPaint()
Returns the background color of the plot area.
ClassgetClass()
Returns the runtime class of this Object .
RectangleInsetsgetInsets()
Returns the insets for the plot area.
PaintgetOutlinePaint()
Returns the color used to draw the outline of the plot area.
StrokegetOutlineStroke()
Returns the stroke used to outline the plot area.
StringgetPlotType()
Returns a short string describing the plot type.
booleanisNotify()
Returns a flag that controls whether or not change events are sent to registered listeners.
RectangleEdgeresolveDomainAxisLocation(AxisLocation location, PlotOrientation orientation)
Resolves a domain axis location for a given plot orientation.
RectangleEdgeresolveRangeAxisLocation(AxisLocation location, PlotOrientation orientation)
Resolves a range axis location for a given plot orientation.
voidsetBackgroundAlpha(float alpha)
Sets the alpha transparency of the plot area background, and notifies registered listeners that the plot has been modified.
voidsetBackgroundImage(Image image)
Sets the background image for the plot and sends a PlotChangeEvent to all registered listeners.
voidsetBackgroundImageAlignment(int alignment)
Sets the alignment for the background image and sends a PlotChangeEvent to all registered listeners.
voidsetBackgroundImageAlpha(float alpha)
Sets the alpha transparency used when drawing the background image.
voidsetBackgroundPaint(Paint paint)
Sets the background color of the plot area and sends a PlotChangeEvent to all registered listeners.
voidsetDrawingSupplier(DrawingSupplier supplier)
Sets the drawing supplier for the plot and sends a PlotChangeEvent to all registered listeners.
voidsetForegroundAlpha(float alpha)
Sets the alpha-transparency for the plot and sends a PlotChangeEvent to all registered listeners.
voidsetInsets(RectangleInsets insets)
Sets the insets for the plot and sends a PlotChangeEvent to all registered listeners.
voidsetNoDataMessage(String message)
Sets the message that is displayed when the dataset is empty or null, and sends a PlotChangeEvent to all registered listeners.
voidsetNoDataMessageFont(Font font)
Sets the font used to display the 'no data' message and sends a PlotChangeEvent to all registered listeners.
voidsetNoDataMessagePaint(Paint paint)
Sets the paint used to display the 'no data' message and sends a PlotChangeEvent to all registered listeners.
voidsetNotify(boolean notify)
Sets a flag that controls whether or not listeners receive PlotChangeEvent notifications.
voidsetOutlinePaint(Paint paint)
Sets the paint used to draw the outline of the plot area and sends a PlotChangeEvent to all registered listeners.
voidsetOutlineStroke(Stroke stroke)
Sets the stroke used to outline the plot area and sends a PlotChangeEvent to all registered listeners.
voidsetOutlineVisible(boolean visible)
Sets the flag that controls whether or not the plot's outline is drawn, and sends a PlotChangeEvent to all registered listeners.
StringtoString()
Returns a string representation of the object.