Class OpaqueXYTextAnnotation.AnnotationSorter
java.lang.Object
com.inductiveautomation.factorypmi.application.components.chart.runtime.OpaqueXYTextAnnotation.AnnotationSorter
- All Implemented Interfaces:
Comparator<OpaqueXYTextAnnotation>
- Enclosing class:
- OpaqueXYTextAnnotation
public static class OpaqueXYTextAnnotation.AnnotationSorter
extends Object
implements Comparator<OpaqueXYTextAnnotation>
Sorts annotations along either the X or Y axis, depending on the plot orientation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionint
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
AnnotationSorter
public AnnotationSorter(org.jfree.chart.plot.PlotOrientation orientation)
-
-
Method Details
-
compare
- Specified by:
compare
in interfaceComparator<OpaqueXYTextAnnotation>
-