Class Priority


  • public final class Priority
    extends Object
    Constants for specifying an item's priority.
    Author:
    Johannes Schindelin, Curtis Rueden
    See Also:
    Prioritized.priority()
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static double EXTREMELY_HIGH
      Priority for items that very strongly prefer to be sorted early.
      static double EXTREMELY_LOW
      Priority for items that very strongly prefer to be sorted late.
      static double FIRST
      Priority for items that must be sorted first.
      static double HIGH
      Priority for items that prefer to be sorted earlier.
      static double LAST
      Priority for items that must be sorted last.
      static double LOW
      Priority for items that prefer to be sorted later.
      static double NORMAL
      Default priority for items.
      static double VERY_HIGH
      Priority for items that strongly prefer to be sorted early.
      static double VERY_LOW
      Priority for items that strongly prefer to be sorted late.
    • Field Detail

      • FIRST

        public static final double FIRST
        Priority for items that must be sorted first.

        Note that it is still possible to prioritize something earlier than this value (e.g., for testing purposes), although doing so strongly discouraged in production.

        See Also:
        Constant Field Values
      • EXTREMELY_HIGH

        public static final double EXTREMELY_HIGH
        Priority for items that very strongly prefer to be sorted early.
        See Also:
        Constant Field Values
      • VERY_HIGH

        public static final double VERY_HIGH
        Priority for items that strongly prefer to be sorted early.
        See Also:
        Constant Field Values
      • HIGH

        public static final double HIGH
        Priority for items that prefer to be sorted earlier.
        See Also:
        Constant Field Values
      • LOW

        public static final double LOW
        Priority for items that prefer to be sorted later.
        See Also:
        Constant Field Values
      • VERY_LOW

        public static final double VERY_LOW
        Priority for items that strongly prefer to be sorted late.
        See Also:
        Constant Field Values
      • EXTREMELY_LOW

        public static final double EXTREMELY_LOW
        Priority for items that very strongly prefer to be sorted late.
        See Also:
        Constant Field Values
      • LAST

        public static final double LAST
        Priority for items that must be sorted last.

        Note that it is still possible to prioritize something later than this value (e.g., for testing purposes), although doing so strongly discouraged in production.

        See Also:
        Constant Field Values