protected static class RasterPlot.RasterRenderer extends AbstractPointRenderer
Modifier and Type | Field and Description |
---|---|
static Key |
COLUMN_VALUE
Key for specifying the
Integer which specifies the
index of the column that is used for the value of a point. |
static Key |
COLUMN_X
Key for specifying the
Integer which specifies the
index of the column that is used for the x coordinate of a point. |
static Key |
COLUMN_Y
Key for specifying the
Integer which specifies the
index of the column that is used for the y coordinate of a point. |
COLOR, ERROR_COLOR, ERROR_COLUMN_BOTTOM, ERROR_COLUMN_TOP, ERROR_DISPLAYED, ERROR_SHAPE, ERROR_STROKE, SHAPE, VALUE_ALIGNMENT_X, VALUE_ALIGNMENT_Y, VALUE_COLOR, VALUE_COLUMN, VALUE_DISPLAYED, VALUE_DISTANCE, VALUE_FONT, VALUE_FORMAT, VALUE_LOCATION, VALUE_ROTATION
Constructor and Description |
---|
RasterPlot.RasterRenderer(SettingsStorage plotSettings)
Constructor that creates a new instance and initializes it with a
plot as data provider.
|
Modifier and Type | Method and Description |
---|---|
Drawable |
getPoint(PointData data,
Shape shape)
Returns the graphical representation to be drawn for the specified data
value.
|
Shape |
getPointShape(PointData data)
Returns a
Shape instance that can be used for further
calculations. |
Drawable |
getValue(PointData data,
Shape shape)
Returns a graphical representation of the value label to be drawn for
the specified data value.
|
setSetting, settingChanged
addSettingsListener, getSetting, hasSetting, hasSettingDefault, notifySettingChanged, removeSetting, removeSettingDefault, removeSettingsListener, setSetting, setSettingDefault
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getSetting, removeSetting, removeSettingDefault, setSetting, setSettingDefault
public static final Key COLUMN_X
Integer
which specifies the
index of the column that is used for the x coordinate of a point.public static final Key COLUMN_Y
Integer
which specifies the
index of the column that is used for the y coordinate of a point.public RasterPlot.RasterRenderer(SettingsStorage plotSettings)
plotSettings
- Plot specific settings.public Drawable getPoint(PointData data, Shape shape)
data
- Information on axes, renderers, and values.shape
- Outline that describes the point's shape.public Shape getPointShape(PointData data)
Shape
instance that can be used for further
calculations.data
- Information on axes, renderers, and values.public Drawable getValue(PointData data, Shape shape)
data
- Information on axes, renderers, and values.shape
- Outline that describes the bounds for the value label.Copyright © 2009-2013. All Rights Reserved.