public abstract class AbstractPointRenderer extends java.lang.Object implements PointRenderer, java.io.Serializable
Constructor and Description |
---|
AbstractPointRenderer()
Creates a new AbstractPointRenderer object with default shape and
color.
|
Modifier and Type | Method and Description |
---|---|
ColorMapper |
getColor()
Returns a mapping that is used to fill the point shapes.
|
ColorMapper |
getErrorColor()
Returns the mapping that is used to fill the error indicators.
|
int |
getErrorColumnBottom()
Returns the index of the column that contains the lower error value.
|
int |
getErrorColumnTop()
Returns the index of the column that contains the upper error value.
|
java.awt.Shape |
getErrorShape()
Returns the shape which is used to draw the error indicators.
|
java.awt.Stroke |
getErrorStroke()
Returns the stroke which is used to draw the error indicators.
|
java.awt.Shape |
getShape()
Returns the shape which is used to draw the point.
|
double |
getValueAlignmentX()
Returns the relative horizontal position of the value.
|
double |
getValueAlignmentY()
Returns the relative vertical position of the value.
|
ColorMapper |
getValueColor()
Returns the mapping that is used to fill the value.
|
int |
getValueColumn()
Returns the index of the column that contains the displayed values.
|
double |
getValueDistance()
Returns the current distance of values to the point.
|
java.awt.Font |
getValueFont()
Returns the font that is used to render the value.
|
java.text.Format |
getValueFormat()
Returns the format that is used to render the displayed data values.
|
Location |
getValueLocation()
Returns the current positioning of the data value relative to the data
point.
|
double |
getValueRotation()
Returns the current rotation angle of the value.
|
boolean |
isErrorVisible()
Returns whether the error value is displayed.
|
boolean |
isValueVisible()
Returns whether the data value of a point is displayed or not.
|
void |
setColor(ColorMapper color)
Sets the mapping that will be used to fill the point shapes.
|
void |
setColor(java.awt.Paint color)
Sets the paint that will be used to fill the point shapes.
|
void |
setErrorColor(ColorMapper color)
Sets the mapping that will be used to fill the error indicators.
|
void |
setErrorColor(java.awt.Paint color)
Sets the paint that will be used to fill the error indicators.
|
void |
setErrorColumnBottom(int columnIndex)
Sets the index of the column that contains the lower error value.
|
void |
setErrorColumnTop(int columnIndex)
Sets the index of the column that contains the upper error value.
|
void |
setErrorShape(java.awt.Shape shape)
Sets the shape which will be used to draw the error indicators.
|
void |
setErrorStroke(java.awt.Stroke stroke)
Sets the stroke which will be used to draw the error indicators.
|
void |
setErrorVisible(boolean errorVisible)
Sets whether the error value will be displayed.
|
void |
setShape(java.awt.Shape shape)
Sets the shape which will be used to draw the point.
|
void |
setValueAlignmentX(double alignmentX)
Sets the relative horizontal position of the value.
|
void |
setValueAlignmentY(double alignmentY)
Sets the relative vertical position of the value.
|
void |
setValueColor(ColorMapper color)
Sets the mapping that will be used to fill the value.
|
void |
setValueColor(java.awt.Paint color)
Sets the paint that will be used to fill the value.
|
void |
setValueColumn(int columnIndex)
Sets the index of the column that contains the displayed values.
|
void |
setValueDistance(double distance)
Sets the distance of values to the point.
|
void |
setValueFont(java.awt.Font font)
Sets the font that will be used to render the value.
|
void |
setValueFormat(java.text.Format format)
Sets the format that will be used to render the displayed data values.
|
void |
setValueLocation(Location location)
Sets the positioning of the data value relative to the data point.
|
void |
setValueRotation(double angle)
Sets the rotation angle of the value.
|
void |
setValueVisible(boolean valueVisible)
Returns whether the data value of a point will be displayed or not.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPoint, getPointShape, getValue
public AbstractPointRenderer()
public java.awt.Shape getShape()
PointRenderer
getShape
in interface PointRenderer
Shape
instance for the point.public void setShape(java.awt.Shape shape)
PointRenderer
setShape
in interface PointRenderer
shape
- Shape
instance for the point.public ColorMapper getColor()
PointRenderer
getColor
in interface PointRenderer
ColorMapper
that is used to fill the point shapes.public void setColor(ColorMapper color)
PointRenderer
setColor
in interface PointRenderer
color
- ColorMapper
instance to fill the point shapes.public void setColor(java.awt.Paint color)
PointRenderer
setColor
in interface PointRenderer
color
- Paint
instance to fill the point shapes.public boolean isValueVisible()
PointRenderer
isValueVisible
in interface PointRenderer
true
when the value is displayed, otherwise
false
.public void setValueVisible(boolean valueVisible)
PointRenderer
setValueVisible
in interface PointRenderer
valueVisible
- true
if the value should be displayed,
otherwise false
.public int getValueColumn()
PointRenderer
getValueColumn
in interface PointRenderer
public void setValueColumn(int columnIndex)
PointRenderer
setValueColumn
in interface PointRenderer
columnIndex
- Index of the column that contains the displayed
values.public java.text.Format getValueFormat()
PointRenderer
getValueFormat
in interface PointRenderer
Format
instance that is used to render the displayed
data values.public void setValueFormat(java.text.Format format)
PointRenderer
setValueFormat
in interface PointRenderer
format
- Format
instance that will be used to render the
displayed data values.public Location getValueLocation()
PointRenderer
getValueLocation
in interface PointRenderer
public void setValueLocation(Location location)
PointRenderer
setValueLocation
in interface PointRenderer
location
- Positioning of the data value relative to the data point.public double getValueAlignmentX()
PointRenderer
getValueAlignmentX
in interface PointRenderer
public void setValueAlignmentX(double alignmentX)
PointRenderer
setValueAlignmentX
in interface PointRenderer
alignmentX
- Relative horizontal position of the value.public double getValueAlignmentY()
PointRenderer
getValueAlignmentY
in interface PointRenderer
public void setValueAlignmentY(double alignmentY)
PointRenderer
setValueAlignmentY
in interface PointRenderer
alignmentY
- Relative vertical position of the value.public double getValueRotation()
PointRenderer
getValueRotation
in interface PointRenderer
public void setValueRotation(double angle)
PointRenderer
setValueRotation
in interface PointRenderer
angle
- Rotation angle in degrees.public double getValueDistance()
PointRenderer
getValueDistance
in interface PointRenderer
public void setValueDistance(double distance)
PointRenderer
setValueDistance
in interface PointRenderer
distance
- Distance relative to the font height.public ColorMapper getValueColor()
PointRenderer
getValueColor
in interface PointRenderer
ColorMapper
instance that is used to fill the value.public void setValueColor(ColorMapper color)
PointRenderer
setValueColor
in interface PointRenderer
color
- ColorMapper
instance that will be used to fill
the value.public void setValueColor(java.awt.Paint color)
PointRenderer
setValueColor
in interface PointRenderer
color
- Paint
instance that will be used to fill the
value.public java.awt.Font getValueFont()
PointRenderer
getValueFont
in interface PointRenderer
public void setValueFont(java.awt.Font font)
PointRenderer
setValueFont
in interface PointRenderer
font
- Font that will be used to render the value.public boolean isErrorVisible()
PointRenderer
isErrorVisible
in interface PointRenderer
true
if the error value is displayed, otherwise
false
.public void setErrorVisible(boolean errorVisible)
PointRenderer
setErrorVisible
in interface PointRenderer
errorVisible
- true
if the error value should be displayed,
otherwise false
.public int getErrorColumnTop()
PointRenderer
getErrorColumnTop
in interface PointRenderer
public void setErrorColumnTop(int columnIndex)
PointRenderer
setErrorColumnTop
in interface PointRenderer
columnIndex
- Index of the column that contains the upper error
value.public int getErrorColumnBottom()
PointRenderer
getErrorColumnBottom
in interface PointRenderer
public void setErrorColumnBottom(int columnIndex)
PointRenderer
setErrorColumnBottom
in interface PointRenderer
columnIndex
- Index of the column that contains the lower error
value.public ColorMapper getErrorColor()
PointRenderer
getErrorColor
in interface PointRenderer
ColorMapper
instance that is used to fill the error
indicators.public void setErrorColor(ColorMapper color)
PointRenderer
setErrorColor
in interface PointRenderer
color
- ColorMapper
instance that will be used to fill
the error indicators.public void setErrorColor(java.awt.Paint color)
PointRenderer
setErrorColor
in interface PointRenderer
color
- Paint
instance that will be used to fill the
error indicators.public java.awt.Shape getErrorShape()
PointRenderer
getErrorShape
in interface PointRenderer
Shape
instance of the error indicators.public void setErrorShape(java.awt.Shape shape)
PointRenderer
setErrorShape
in interface PointRenderer
shape
- Shape
instance for the error indicators.public java.awt.Stroke getErrorStroke()
PointRenderer
getErrorStroke
in interface PointRenderer
public void setErrorStroke(java.awt.Stroke stroke)
PointRenderer
setErrorStroke
in interface PointRenderer
stroke
- Stroke of the error indicators.