Enum Class CurveChangeType

java.lang.Object
java.lang.Enum<CurveChangeType>
edu.cnu.mdi.splot.pdata.CurveChangeType
All Implemented Interfaces:
Serializable, Comparable<CurveChangeType>, Constable

public enum CurveChangeType extends Enum<CurveChangeType>
Types of changes that can occur to a curve.

This is intentionally coarse-grained. Views can treat any change as a repaint, while more sophisticated views may choose to optimize (e.g. only redraw a fit overlay).

Author:
heddle
  • Enum Constant Details

    • DATA

      public static final CurveChangeType DATA
      Underlying numeric data changed (points appended/removed, bins filled, cleared, etc.).
    • STYLE

      public static final CurveChangeType STYLE
      Non-data properties changed (visibility, style, drawing method, knobs, etc.).
    • FIT

      public static final CurveChangeType FIT
      Fit-related artifacts changed (fit result updated/cleared).
  • Method Details

    • values

      public static CurveChangeType[] 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 CurveChangeType 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