Enum Class ImageServiceBean.HistoType

java.lang.Object
java.lang.Enum<ImageServiceBean.HistoType>
org.eclipse.dawnsci.plotting.api.histogram.ImageServiceBean.HistoType
All Implemented Interfaces:
Serializable, Comparable<ImageServiceBean.HistoType>, Constable
Enclosing class:
ImageServiceBean

public static enum ImageServiceBean.HistoType extends Enum<ImageServiceBean.HistoType>
  • Enum Constant Details

  • Field Details

    • label

      public final String label
    • index

      public final int index
  • Method Details

    • values

      public static ImageServiceBean.HistoType[] 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 ImageServiceBean.HistoType 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
    • getLabel

      public String getLabel()
    • getIndex

      public int getIndex()
    • forLabel

      public static ImageServiceBean.HistoType forLabel(String label)