Enum Class CandidatePathMetrics.Metric

java.lang.Object
java.lang.Enum<CandidatePathMetrics.Metric>
sc.fiji.snt.analysis.CandidatePathMetrics.Metric
All Implemented Interfaces:
Serializable, Comparable<CandidatePathMetrics.Metric>, java.lang.constant.Constable
Enclosing class:
CandidatePathMetrics

public static enum CandidatePathMetrics.Metric extends Enum<CandidatePathMetrics.Metric>
  • Enum Constant Details

  • Method Details

    • values

      public static CandidatePathMetrics.Metric[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static CandidatePathMetrics.Metric valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • header

      public String header()
    • description

      public String description()
    • lowerIsBetter

      public boolean lowerIsBetter()
    • kind

    • columnName

      public String columnName(String units)
      Parameters:
      units - the spacing units, used by distance metrics
      Returns:
      the header of a table column listing this metric, e.g., "Contraction (um)"
    • tooltip

      public String tooltip(boolean hasReference)
      Parameters:
      hasReference - true if the table has a reference row against which values are compared
      Returns:
      the (HTML) tooltip of a table header listing this metric
    • format

      public String format(double v)
      Formats a value of this metric, using "n/a" for NaN