Class 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)  
      • 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