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 intprivate FontRenderContextprivate Graphics2Dprivate IAxisPlotDataSetprivate Rectangle2D.Floatprivate intprivate floatprivate floatprivate floatFields 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 TypeMethodDescriptionintReturns the bounding box of the total axis plot area alotted to the current scale item.intfloatfloatfloatvoidsetDataSetIndex(int dataSetIndex) voidsetValueIndex(int valueIndex) voidsetValueX(float valueX) voidsetValueY(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()
-