Enum Mode

    • Enum Constant Detail

      • IONIAN

        public static final Mode IONIAN
      • DORIAN

        public static final Mode DORIAN
      • PHRYGIAN

        public static final Mode PHRYGIAN
      • LYDIAN

        public static final Mode LYDIAN

        public static final Mode MIXOLYDIAN
      • AEOLIAN

        public static final Mode AEOLIAN
      • LOCRIAN

        public static final Mode LOCRIAN
    • Method Detail

      • values

        public static Mode[] 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 (Mode c : Mode.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static Mode 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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • toMode

        public static Mode toMode​(String modeName)
      • getName

        public String getName()
      • getAlternativeName

        public String getAlternativeName()
      • getLocalizedName

        public String getLocalizedName()
      • getLocalizedName

        public String getLocalizedName​(Locale locale)
      • getLocalizedAlternativeName

        public String getLocalizedAlternativeName()
      • getLocalizedAlternativeName

        public String getLocalizedAlternativeName​(Locale locale)