JIDE 3.5.15

com.jidesoft.chart.render
Interface PointRenderer

All Known Implementing Classes:
AbstractPointRenderer, CandlestickPointRenderer, DefaultPointRenderer, RectangularPointRenderer, SphericalPointRenderer

public interface PointRenderer

An interface for classes that can be used to render points in a Chart

Author:
Simon White (swhite@catalysoft.com)

Method Summary
 Shape renderPoint(Graphics g, Chart chart, ChartModel m, Chartable point, boolean isSelected, boolean hasRollover, boolean hasFocus, int x, int y)
          Render the point at the given x,y coordinates
 

Method Detail

renderPoint

Shape renderPoint(Graphics g,
                  Chart chart,
                  ChartModel m,
                  Chartable point,
                  boolean isSelected,
                  boolean hasRollover,
                  boolean hasFocus,
                  int x,
                  int y)
Render the point at the given x,y coordinates

Parameters:
g - the Graphics context for rendering the point
chart - the Chart object
m - the model from which the point derives
point - the Chartable object to paint
isSelected - whether the point is currently selected
hasRollover - whether the point is currently in a rollover state
hasFocus - whether the point currently has editing focus
x - the x coordinate (in pixels) for the location of the point
y - the y coordinate (in pixels) for the location of the point
Returns:
the rendered shape

JIDE 3.5.15