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:
- Serializable,- Cloneable,- org.jfree.chart.annotations.XYAnnotation,- org.jfree.util.PublicCloneable
public class OpaqueXYTextAnnotation
extends org.jfree.chart.annotations.XYTextAnnotation
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classSorts annotations along either the X or Y axis, depending on the plot orientation
- 
Field SummaryFields inherited from class org.jfree.chart.annotations.XYTextAnnotationDEFAULT_FONT, DEFAULT_PAINT, DEFAULT_ROTATION_ANCHOR, DEFAULT_ROTATION_ANGLE, DEFAULT_TEXT_ANCHOR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidcalculateBounds(Graphics2D g2, org.jfree.chart.plot.XYPlot plot, Rectangle2D dataArea, org.jfree.chart.axis.ValueAxis domainAxis, org.jfree.chart.axis.ValueAxis rangeAxis, int rendererIndex, org.jfree.chart.plot.PlotRenderingInfo info) voiddraw(Graphics2D g2) voiddraw(Graphics2D g2, org.jfree.chart.plot.XYPlot plot, Rectangle2D dataArea, org.jfree.chart.axis.ValueAxis domainAxis, org.jfree.chart.axis.ValueAxis rangeAxis, int rendererIndex, org.jfree.chart.plot.PlotRenderingInfo info) doublestatic 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(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, setYMethods inherited from class org.jfree.chart.annotations.AbstractXYAnnotationaddEntity, getToolTipText, getURL, setToolTipText, setURL
- 
Constructor Details- 
OpaqueXYTextAnnotation
 
- 
- 
Method Details- 
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(Graphics2D g2, org.jfree.chart.plot.XYPlot plot, 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(Graphics2D g2, org.jfree.chart.plot.XYPlot plot, 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
 
- 
draw
- 
getBackground
- 
setBackground
- 
getBounds
- 
getCenterYpublic double getCenterY()
 
-