Enum Class PitchKeyGrid.role

java.lang.Object
java.lang.Enum<PitchKeyGrid.role>
eu.bandm.music.applications.tabstaff.PitchKeyGrid.role
All Implemented Interfaces:
Serializable, Comparable<PitchKeyGrid.role>, Constable
Enclosing class:
PitchKeyGrid

static enum PitchKeyGrid.role extends Enum<PitchKeyGrid.role>
The roles of a pad in a particular interpretation of the grid, when this assigns MIDI note on/off events.
  • Enum Constant Details

    • finalis

      public static final PitchKeyGrid.role finalis
      Pad is mapped to the root pitch class of the currently valid scaled.
    • repercussa

      public static final PitchKeyGrid.role repercussa
      Pad is mapped to the second-important diatonic pitch class.
    • own

      public static final PitchKeyGrid.role own
      Pad is mapped to a diatonic pitch class of the currently valid scale, which is not the root.
    • foreign

      public static final PitchKeyGrid.role foreign
      Pad is mapped to a pitch not in the current scale. This can happen only in chromatic layout.
  • Method Details

    • values

      public static PitchKeyGrid.role[] 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 PitchKeyGrid.role 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