Class AutoAnnotateXYPlot.TransparentCrosshairState
- java.lang.Object
- 
- org.jfree.chart.plot.CrosshairState
- 
- com.inductiveautomation.factorypmi.application.components.chart.runtime.AutoAnnotateXYPlot.TransparentCrosshairState
 
 
- 
- Direct Known Subclasses:
- AutoAnnotateXYPlot.MultiCrosshairState
 - Enclosing class:
- AutoAnnotateXYPlot
 
 public class AutoAnnotateXYPlot.TransparentCrosshairState extends org.jfree.chart.plot.CrosshairStateThis is an example of object oriented programming gone bad!! CrosshairState has no accessors for its private data variables which I need, hence this ridiculous copy-paste job, overriding everything.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.awt.geom.Point2DanchorThe anchor point in Java2D space - if null, don't update crosshair.protected doubleanchorXThe x-value (in data space) for the anchor point.protected doubleanchorYThe y-value (in data space) for the anchor point.protected doublecrosshairXThe x-value for the crosshair point.protected doublecrosshairYThe y-value for the crosshair point.protected doubledistanceThe smallest distance so far between the anchor point and a data point.
 - 
Constructor SummaryConstructors Constructor Description TransparentCrosshairState()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description doublegetCrosshairX()doublegetCrosshairY()doublegetDistance()voidsetAnchor(java.awt.geom.Point2D anchor)voidsetCrosshairDistance(double distance)voidsetCrosshairX(double x)voidsetCrosshairY(double y)java.lang.StringtoString()voidupdateCrosshairPoint(double x, double y, double transX, double transY, org.jfree.chart.plot.PlotOrientation orientation)Deprecated.voidupdateCrosshairPoint(double x, double y, int domainAxisIndex, int rangeAxisIndex, double transX, double transY, org.jfree.chart.plot.PlotOrientation orientation)voidupdateCrosshairX(double candidateX)Deprecated.voidupdateCrosshairX(double candidateX, int axis)voidupdateCrosshairY(double candidateY)Deprecated.voidupdateCrosshairY(double candidateY, int axis)
 
- 
- 
- 
Field Detail- 
anchorXprotected double anchorX The x-value (in data space) for the anchor point.
 - 
anchorYprotected double anchorY The y-value (in data space) for the anchor point.
 - 
anchorprotected java.awt.geom.Point2D anchor The anchor point in Java2D space - if null, don't update crosshair.
 - 
crosshairXprotected double crosshairX The x-value for the crosshair point.
 - 
crosshairYprotected double crosshairY The y-value for the crosshair point.
 - 
distanceprotected double distance The smallest distance so far between the anchor point and a data point.
 
- 
 - 
Method Detail- 
setCrosshairDistancepublic void setCrosshairDistance(double distance) - Overrides:
- setCrosshairDistancein class- org.jfree.chart.plot.CrosshairState
 
 - 
updateCrosshairPoint@Deprecated public void updateCrosshairPoint(double x, double y, double transX, double transY, org.jfree.chart.plot.PlotOrientation orientation)Deprecated.- Overrides:
- updateCrosshairPointin class- org.jfree.chart.plot.CrosshairState
 
 - 
updateCrosshairPointpublic void updateCrosshairPoint(double x, double y, int domainAxisIndex, int rangeAxisIndex, double transX, double transY, org.jfree.chart.plot.PlotOrientation orientation)- Overrides:
- updateCrosshairPointin class- org.jfree.chart.plot.CrosshairState
- Parameters:
- x- the x value of the item being rendered in data space
- y- the y value of the item being rendered in data space
- transX- The domain value, in j2d space.
- transY- The range value in j2d space.
 
 - 
updateCrosshairX@Deprecated public void updateCrosshairX(double candidateX) Deprecated.- Overrides:
- updateCrosshairXin class- org.jfree.chart.plot.CrosshairState
 
 - 
updateCrosshairXpublic void updateCrosshairX(double candidateX, int axis)- Overrides:
- updateCrosshairXin class- org.jfree.chart.plot.CrosshairState
 
 - 
updateCrosshairY@Deprecated public void updateCrosshairY(double candidateY) Deprecated.- Overrides:
- updateCrosshairYin class- org.jfree.chart.plot.CrosshairState
 
 - 
updateCrosshairYpublic void updateCrosshairY(double candidateY, int axis)- Overrides:
- updateCrosshairYin class- org.jfree.chart.plot.CrosshairState
 
 - 
setAnchorpublic void setAnchor(java.awt.geom.Point2D anchor) - Overrides:
- setAnchorin class- org.jfree.chart.plot.CrosshairState
 
 - 
getCrosshairXpublic double getCrosshairX() - Overrides:
- getCrosshairXin class- org.jfree.chart.plot.CrosshairState
 
 - 
setCrosshairXpublic void setCrosshairX(double x) - Overrides:
- setCrosshairXin class- org.jfree.chart.plot.CrosshairState
 
 - 
getCrosshairYpublic double getCrosshairY() - Overrides:
- getCrosshairYin class- org.jfree.chart.plot.CrosshairState
 
 - 
setCrosshairYpublic void setCrosshairY(double y) - Overrides:
- setCrosshairYin class- org.jfree.chart.plot.CrosshairState
 
 - 
getDistancepublic double getDistance() 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-