Enum Sound

    • Enum Constant Detail

      • ALIEN

        public static final Sound ALIEN
      • BIKE

        public static final Sound BIKE
      • BUGLE

        public static final Sound BUGLE
      • CASHREGISTET

        public static final Sound CASHREGISTET
      • CLASSICAL

        public static final Sound CLASSICAL
      • CLIMB

        public static final Sound CLIMB
      • COSMIC

        public static final Sound COSMIC
      • ECHO

        public static final Sound ECHO
      • FALLING

        public static final Sound FALLING
      • GAMELAN

        public static final Sound GAMELAN
      • INCOMING

        public static final Sound INCOMING
      • INTERMISSION

        public static final Sound INTERMISSION
      • MAGIC

        public static final Sound MAGIC
      • MECHANICAL

        public static final Sound MECHANICAL
      • NONE

        public static final Sound NONE
      • PERSISTENT

        public static final Sound PERSISTENT
      • PIANOBAR

        public static final Sound PIANOBAR
      • PUSHOVER

        public static final Sound PUSHOVER
      • SIREN

        public static final Sound SIREN
      • SPACEALARM

        public static final Sound SPACEALARM
      • TUGBOAT

        public static final Sound TUGBOAT
      • UPDOWN

        public static final Sound UPDOWN
    • Method Detail

      • values

        public static Sound[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Sound c : Sound.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Sound 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