Enum Preferences.OperatingSystem

java.lang.Object
java.lang.Enum<Preferences.OperatingSystem>
gov.nih.mipav.view.Preferences.OperatingSystem
All Implemented Interfaces:
Serializable, Comparable<Preferences.OperatingSystem>, java.lang.constant.Constable
Enclosing class:
Preferences

public static enum Preferences.OperatingSystem extends Enum<Preferences.OperatingSystem>
Defines operating system on which MIPAV is running.
Author:
senseneyj
  • Enum Constant Details

  • Constructor Details

    • OperatingSystem

      private OperatingSystem()
  • Method Details

    • values

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

      public static Preferences.OperatingSystem valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getOS

      public static final Preferences.OperatingSystem getOS()
      Gets the operating system.
      Returns:
      operating system