protected static class RasterPlot.RasterRenderer extends AbstractPointRenderer
Constructor and Description |
---|
RasterPlot.RasterRenderer(RasterPlot plot)
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,
java.awt.Shape shape)
Returns the graphical representation to be drawn for the specified data
value.
|
java.awt.Shape |
getPointShape(PointData data)
Returns a
Shape instance that can be used for further
calculations. |
Drawable |
getValue(PointData data,
java.awt.Shape shape)
Returns a graphical representation of the value label to be drawn for
the specified data value.
|
int |
getValueColumn()
Returns the index of the column which is used for the value of a
point.
|
int |
getXColumn()
Returns the index of the column which is used for the x coordinate
of a point.
|
int |
getYColumn()
Returns the index of the column which is used for the y coordinate
of a point.
|
void |
setValueColumn(int columnIndex)
Sets the index of the column which will be used for the value of a
point.
|
void |
setXColumn(int columnIndex)
Sets the index of the column which will be used for the x coordinate
of a point.
|
void |
setYColumn(int columnIndex)
Sets the index of the column which will be used for the y coordinate
of a point.
|
getColor, getErrorColor, getErrorColumnBottom, getErrorColumnTop, getErrorShape, getErrorStroke, getShape, getValueAlignmentX, getValueAlignmentY, getValueColor, getValueDistance, getValueFont, getValueFormat, getValueLocation, getValueRotation, isErrorVisible, isValueVisible, setColor, setColor, setErrorColor, setErrorColor, setErrorColumnBottom, setErrorColumnTop, setErrorShape, setErrorStroke, setErrorVisible, setShape, setValueAlignmentX, setValueAlignmentY, setValueColor, setValueColor, setValueDistance, setValueFont, setValueFormat, setValueLocation, setValueRotation, setValueVisible
public RasterPlot.RasterRenderer(RasterPlot plot)
plot
- Plot storing global settings.public int getXColumn()
public void setXColumn(int columnIndex)
columnIndex
- Index of the column for the x coordinate of a point.public int getYColumn()
public void setYColumn(int columnIndex)
columnIndex
- Index of the column for the y coordinate of a point.public int getValueColumn()
getValueColumn
in interface PointRenderer
getValueColumn
in class AbstractPointRenderer
public void setValueColumn(int columnIndex)
setValueColumn
in interface PointRenderer
setValueColumn
in class AbstractPointRenderer
columnIndex
- Index of the column for the value of a point.public Drawable getPoint(PointData data, java.awt.Shape shape)
data
- Information on axes, renderers, and values.shape
- Outline that describes the point's shape.public java.awt.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, java.awt.Shape shape)
data
- Information on axes, renderers, and values.shape
- Outline that describes the bounds for the value label.