de.erichseifert.gral.plots.points
Class SizeablePointRenderer
- java.lang.Object
-
- de.erichseifert.gral.plots.points.AbstractPointRenderer
-
- de.erichseifert.gral.plots.points.DefaultPointRenderer2D
-
- de.erichseifert.gral.plots.points.SizeablePointRenderer
-
- All Implemented Interfaces:
- PointRenderer, java.io.Serializable
public class SizeablePointRenderer extends DefaultPointRenderer2D
Class that providesDrawables, which are sized accordingly to the data.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description SizeablePointRenderer()Initializes a new object.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intgetColumn()Returns the index of the column which is used for point sizes.java.awt.ShapegetPointShape(PointData data)Returns aShapeinstance that can be used for further calculations.voidsetColumn(int column)Sets the index of the column which will be used for point sizes.-
Methods inherited from class de.erichseifert.gral.plots.points.DefaultPointRenderer2D
getPoint, getValue
-
Methods inherited from class de.erichseifert.gral.plots.points.AbstractPointRenderer
getColor, getErrorColor, getErrorColumnBottom, getErrorColumnTop, getErrorShape, getErrorStroke, getShape, getValueAlignmentX, getValueAlignmentY, getValueColor, getValueColumn, getValueDistance, getValueFont, getValueFormat, getValueLocation, getValueRotation, isErrorVisible, isValueVisible, setColor, setColor, setErrorColor, setErrorColor, setErrorColumnBottom, setErrorColumnTop, setErrorShape, setErrorStroke, setErrorVisible, setShape, setValueAlignmentX, setValueAlignmentY, setValueColor, setValueColor, setValueColumn, setValueDistance, setValueFont, setValueFormat, setValueLocation, setValueRotation, setValueVisible
-
-
-
-
Method Detail
-
getColumn
public int getColumn()
Returns the index of the column which is used for point sizes.- Returns:
- index of the column which is used for point sizes.
-
setColumn
public void setColumn(int column)
Sets the index of the column which will be used for point sizes.- Parameters:
column- Index of the column which will be used for point sizes.
-
getPointShape
public java.awt.Shape getPointShape(PointData data)
Description copied from class:DefaultPointRenderer2DReturns aShapeinstance that can be used for further calculations.- Specified by:
getPointShapein interfacePointRenderer- Overrides:
getPointShapein classDefaultPointRenderer2D- Parameters:
data- Information on axes, renderers, and values.- Returns:
- Outline that describes the point's shape.
-
-
DataMelt 3.0 © DataMelt by jWork.ORG