Class AxisValueRenderEvent
java.lang.Object
java.util.EventObject
org.jCharts.axisChart.customRenderers.axisValue.AxisValueRenderEvent
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate int
private FontRenderContext
private Graphics2D
private IAxisPlotDataSet
private Rectangle2D.Float
private int
private float
private float
private float
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorsConstructorDescriptionAxisValueRenderEvent
(AxisChart axisChart, IAxisPlotDataSet iAxisPlotDataSet, Graphics2D graphics2D, Rectangle2D.Float totalItemAxisArea, float zeroLineCoordinate) -
Method Summary
Modifier and TypeMethodDescriptionint
Returns the bounding box of the total axis plot area alotted to the current scale item.int
float
float
float
void
setDataSetIndex
(int dataSetIndex) void
setValueIndex
(int valueIndex) void
setValueX
(float valueX) void
setValueY
(float valueY) Methods inherited from class java.util.EventObject
getSource, toString
-
Field Details
-
graphics2D
-
fontRenderContext
-
iAxisPlotDataSet
-
totalItemAxisArea
-
zeroLineCoordinate
private float zeroLineCoordinate -
valueX
private float valueX -
valueY
private float valueY -
dataSetIndex
private int dataSetIndex -
valueIndex
private int valueIndex
-
-
Constructor Details
-
AxisValueRenderEvent
public AxisValueRenderEvent(AxisChart axisChart, IAxisPlotDataSet iAxisPlotDataSet, Graphics2D graphics2D, Rectangle2D.Float totalItemAxisArea, float zeroLineCoordinate) - Parameters:
axisChart
-graphics2D
-totalItemAxisArea
-
-
-
Method Details
-
getGraphics2D
- Returns:
- Graphics2D
-
getFontRenderContext
- Returns:
- FontRenderContext
-
getTotalItemAxisArea
Returns the bounding box of the total axis plot area alotted to the current scale item.- Returns:
- Rectangle2D.Float
-
getiAxisPlotDataSet
-
getValueX
public float getValueX()- Returns:
-
setValueX
public void setValueX(float valueX) -
getValueY
public float getValueY() -
setValueY
public void setValueY(float valueY) -
getDataSetIndex
public int getDataSetIndex() -
setDataSetIndex
public void setDataSetIndex(int dataSetIndex) -
getValueIndex
public int getValueIndex() -
setValueIndex
public void setValueIndex(int valueIndex) -
getZeroLineCoordinate
public float getZeroLineCoordinate()
-