Class OpaqueXYTextAnnotation.AnnotationSorter
- java.lang.Object
-
- com.inductiveautomation.factorypmi.application.components.chart.runtime.OpaqueXYTextAnnotation.AnnotationSorter
-
- All Implemented Interfaces:
java.util.Comparator<OpaqueXYTextAnnotation>
- Enclosing class:
- OpaqueXYTextAnnotation
public static class OpaqueXYTextAnnotation.AnnotationSorter extends java.lang.Object implements java.util.Comparator<OpaqueXYTextAnnotation>
Sorts annotations along either the X or Y axis, depending on the plot orientation
-
-
Constructor Summary
Constructors Constructor Description AnnotationSorter(org.jfree.chart.plot.PlotOrientation orientation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compare(OpaqueXYTextAnnotation o1, OpaqueXYTextAnnotation o2)
-
-
-
Method Detail
-
compare
public int compare(OpaqueXYTextAnnotation o1, OpaqueXYTextAnnotation o2)
- Specified by:
compare
in interfacejava.util.Comparator<OpaqueXYTextAnnotation>
-
-