de.erichseifert.gral.plots.points
Class DefaultPointRenderer
java.lang.Object
de.erichseifert.gral.plots.points.AbstractPointRenderer
de.erichseifert.gral.plots.points.DefaultPointRenderer
- All Implemented Interfaces:
- PointRenderer, SettingsListener, SettingsStorage
- Direct Known Subclasses:
- SizeablePointRenderer
public class DefaultPointRenderer
- extends AbstractPointRenderer
Class that creates Drawables for a row of data.
Fields inherited from interface de.erichseifert.gral.plots.points.PointRenderer |
COLOR, ERROR_COLOR, ERROR_DISPLAYED, ERROR_SHAPE, ERROR_STROKE, SHAPE, VALUE_ALIGNMENT_X, VALUE_ALIGNMENT_Y, VALUE_COLOR, VALUE_DISPLAYED, VALUE_FORMAT |
DefaultPointRenderer
public DefaultPointRenderer()
getPoint
public Drawable getPoint(Axis axisY,
AxisRenderer axisYRenderer,
Row row)
- Description copied from interface:
PointRenderer
- Returns the graphical representation to be drawn for the specified data
value.
- Parameters:
axisY
- that is used to project the point.axisYRenderer
- Renderer for the axis.row
- Data row containing the point.
- Returns:
- Component that can be used to draw the point
getPointPath
public Shape getPointPath(Row row)
- Description copied from interface:
PointRenderer
- Returns a
Shape
instance that can be used
for further calculations.
- Parameters:
row
- Data row containing the point.
- Returns:
- Outline that describes the point's shape.
Copyright © 2009-2010. All Rights Reserved.