Enum Class ApplicationSkin.SkinMode

java.lang.Object
java.lang.Enum<ApplicationSkin.SkinMode>
org.micromanager.ApplicationSkin.SkinMode
All Implemented Interfaces:
Serializable, Comparable<ApplicationSkin.SkinMode>, Constable
Enclosing interface:
ApplicationSkin

public static enum ApplicationSkin.SkinMode extends Enum<ApplicationSkin.SkinMode>
Available skins used by the application.
  • Enum Constant Details

  • Method Details

    • values

      public static ApplicationSkin.SkinMode[] 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 ApplicationSkin.SkinMode 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
    • getDesc

      public String getDesc()
      Returns a description of this skin.
      Returns:
      string describing this skin
    • fromString

      public static ApplicationSkin.SkinMode fromString(String desc)
      Returns skinmode associated with the given string (if any).
      Parameters:
      desc - string describing this skin
      Returns:
      the skinmode associated with the given string (if any)
      Throws:
      IllegalArgumentException - when no matching mode is found