Enum Class NumeralMode

java.lang.Object
java.lang.Enum<NumeralMode>
org.audiveris.proxymusic.NumeralMode
All Implemented Interfaces:
Serializable, Comparable<NumeralMode>, Constable

public enum NumeralMode extends Enum<NumeralMode>

Java class for numeral-mode.

The following schema fragment specifies the expected content contained within this class.

 &lt;simpleType name="numeral-mode">
   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
     &lt;enumeration value="major"/>
     &lt;enumeration value="minor"/>
     &lt;enumeration value="natural minor"/>
     &lt;enumeration value="melodic minor"/>
     &lt;enumeration value="harmonic minor"/>
   &lt;/restriction>
 &lt;/simpleType>
 
  • Enum Constant Details

    • MAJOR

      public static final NumeralMode MAJOR
    • MINOR

      public static final NumeralMode MINOR
    • NATURAL_MINOR

      public static final NumeralMode NATURAL_MINOR
    • MELODIC_MINOR

      public static final NumeralMode MELODIC_MINOR
    • HARMONIC_MINOR

      public static final NumeralMode HARMONIC_MINOR
  • Method Details

    • values

      public static NumeralMode[] 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 NumeralMode 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
    • value

      public String value()
    • fromValue

      public static NumeralMode fromValue(String v)