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)
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 pointchart
- the Chart objectm
- the model from which the point derivespoint
- the Chartable object to paintisSelected
- whether the point is currently selectedhasRollover
- whether the point is currently in a rollover statehasFocus
- whether the point currently has editing focusx
- the x coordinate (in pixels) for the location of the pointy
- the y coordinate (in pixels) for the location of the point
- Returns:
- the rendered shape