Class OpaqueXYTextAnnotation
- java.lang.Object
- 
- org.jfree.chart.annotations.AbstractXYAnnotation
- 
- org.jfree.chart.annotations.XYTextAnnotation
- 
- com.inductiveautomation.factorypmi.application.components.chart.runtime.OpaqueXYTextAnnotation
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Cloneable,- org.jfree.chart.annotations.XYAnnotation,- org.jfree.util.PublicCloneable
 
 public class OpaqueXYTextAnnotation extends org.jfree.chart.annotations.XYTextAnnotation- See Also:
- Serialized Form
 
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classOpaqueXYTextAnnotation.AnnotationSorterSorts annotations along either the X or Y axis, depending on the plot orientation
 - 
Constructor SummaryConstructors Constructor Description OpaqueXYTextAnnotation(java.lang.String label, double x, double y)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcalculateBounds(java.awt.Graphics2D g2, org.jfree.chart.plot.XYPlot plot, java.awt.geom.Rectangle2D dataArea, org.jfree.chart.axis.ValueAxis domainAxis, org.jfree.chart.axis.ValueAxis rangeAxis, int rendererIndex, org.jfree.chart.plot.PlotRenderingInfo info)voiddraw(java.awt.Graphics2D g2)voiddraw(java.awt.Graphics2D g2, org.jfree.chart.plot.XYPlot plot, java.awt.geom.Rectangle2D dataArea, org.jfree.chart.axis.ValueAxis domainAxis, org.jfree.chart.axis.ValueAxis rangeAxis, int rendererIndex, org.jfree.chart.plot.PlotRenderingInfo info)java.awt.ColorgetBackground()java.awt.geom.Rectangle2DgetBounds()doublegetCenterY()static doublepickDouble(org.jfree.chart.plot.PlotOrientation orientation, double verticalValue, double horizontalValue)Shortcut for ternary operator picking values based on plot orientationstatic floatpickFloat(org.jfree.chart.plot.PlotOrientation orientation, float verticalValue, float horizontalValue)Shortcut for ternary operator picking values based on plot orientationvoidsetBackground(java.awt.Color background)- 
Methods inherited from class org.jfree.chart.annotations.XYTextAnnotationclone, equals, getFont, getPaint, getRotationAnchor, getRotationAngle, getText, getTextAnchor, getX, getY, hashCode, setFont, setPaint, setRotationAnchor, setRotationAngle, setText, setTextAnchor, setX, setY
 
- 
 
- 
- 
- 
Method Detail- 
pickFloatpublic static float pickFloat(org.jfree.chart.plot.PlotOrientation orientation, float verticalValue, float horizontalValue)Shortcut for ternary operator picking values based on plot orientation
 - 
pickDoublepublic static double pickDouble(org.jfree.chart.plot.PlotOrientation orientation, double verticalValue, double horizontalValue)Shortcut for ternary operator picking values based on plot orientation
 - 
calculateBoundspublic void calculateBounds(java.awt.Graphics2D g2, org.jfree.chart.plot.XYPlot plot, java.awt.geom.Rectangle2D dataArea, org.jfree.chart.axis.ValueAxis domainAxis, org.jfree.chart.axis.ValueAxis rangeAxis, int rendererIndex, org.jfree.chart.plot.PlotRenderingInfo info)
 - 
drawpublic void draw(java.awt.Graphics2D g2, org.jfree.chart.plot.XYPlot plot, java.awt.geom.Rectangle2D dataArea, org.jfree.chart.axis.ValueAxis domainAxis, org.jfree.chart.axis.ValueAxis rangeAxis, int rendererIndex, org.jfree.chart.plot.PlotRenderingInfo info)- Specified by:
- drawin interface- org.jfree.chart.annotations.XYAnnotation
- Overrides:
- drawin class- org.jfree.chart.annotations.XYTextAnnotation
 
 - 
drawpublic void draw(java.awt.Graphics2D g2) 
 - 
getBackgroundpublic java.awt.Color getBackground() 
 - 
setBackgroundpublic void setBackground(java.awt.Color background) 
 - 
getBoundspublic java.awt.geom.Rectangle2D getBounds() 
 - 
getCenterYpublic double getCenterY() 
 
- 
 
-