|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PointRenderer
An interface providing functions for rendering points in a diagram. It defines methods for:
Field Summary | |
---|---|
static Settings.Key |
COLOR
Key for specifying the Paint instance to be used to
paint the point shape. |
static Settings.Key |
ERROR_COLOR
Key for specifying the Paint instance to be used to
paint the error bars. |
static Settings.Key |
ERROR_DISPLAYED
Key for specifying whether the error value is displayed. |
static Settings.Key |
ERROR_SHAPE
Key for specifying the Shape instance defining the
form of the points at the end of the error bars. |
static Settings.Key |
ERROR_STROKE
Key for specifying the Stroke instance defining the
error bars. |
static Settings.Key |
SHAPE
Key for specifying the Shape instance defining the form of the point. |
static Settings.Key |
VALUE_ALIGNMENT_X
Key for specifying the Number value that positions the
value horizontally. |
static Settings.Key |
VALUE_ALIGNMENT_Y
Key for specifying the Number value that positions the
value vertically. |
static Settings.Key |
VALUE_COLOR
Key for specifying the Paint instance to be used to
paint the value. |
static Settings.Key |
VALUE_DISPLAYED
Key for specifying whether the data value of a point is displayed or not. |
static Settings.Key |
VALUE_FORMAT
Key for specifying the Format instance to be used to
format the displayed data values. |
Method Summary | |
---|---|
Drawable |
getPoint(Axis axis,
AxisRenderer axisRenderer,
Row row)
Returns the graphical representation to be drawn for the specified data value. |
Shape |
getPointPath(Row row)
Returns a Shape instance that can be used
for further calculations. |
Methods inherited from interface de.erichseifert.gral.util.SettingsStorage |
---|
getSetting, removeSetting, removeSettingDefault, setSetting, setSettingDefault |
Field Detail |
---|
static final Settings.Key SHAPE
Shape
instance defining the form of the point.
static final Settings.Key COLOR
Paint
instance to be used to
paint the point shape.
static final Settings.Key VALUE_DISPLAYED
static final Settings.Key VALUE_FORMAT
Format
instance to be used to
format the displayed data values.
static final Settings.Key VALUE_ALIGNMENT_X
Number
value that positions the
value horizontally.
static final Settings.Key VALUE_ALIGNMENT_Y
Number
value that positions the
value vertically.
static final Settings.Key VALUE_COLOR
Paint
instance to be used to
paint the value.
static final Settings.Key ERROR_DISPLAYED
static final Settings.Key ERROR_COLOR
Paint
instance to be used to
paint the error bars.
static final Settings.Key ERROR_SHAPE
Shape
instance defining the
form of the points at the end of the error bars.
static final Settings.Key ERROR_STROKE
Stroke
instance defining the
error bars.
Method Detail |
---|
Drawable getPoint(Axis axis, AxisRenderer axisRenderer, Row row)
axis
- that is used to project the point.axisRenderer
- Renderer for the axis.row
- Data row containing the point.
Shape getPointPath(Row row)
Shape
instance that can be used
for further calculations.
row
- Data row containing the point.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |