Enum Class StickType

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

public enum StickType extends Enum<StickType>

Java class for stick-type.

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

 &lt;simpleType name="stick-type">
   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
     &lt;enumeration value="bass drum"/>
     &lt;enumeration value="double bass drum"/>
     &lt;enumeration value="glockenspiel"/>
     &lt;enumeration value="gum"/>
     &lt;enumeration value="hammer"/>
     &lt;enumeration value="superball"/>
     &lt;enumeration value="timpani"/>
     &lt;enumeration value="wound"/>
     &lt;enumeration value="xylophone"/>
     &lt;enumeration value="yarn"/>
   &lt;/restriction>
 &lt;/simpleType>
 
  • Enum Constant Details

    • BASS_DRUM

      public static final StickType BASS_DRUM
    • DOUBLE_BASS_DRUM

      public static final StickType DOUBLE_BASS_DRUM
    • GLOCKENSPIEL

      public static final StickType GLOCKENSPIEL
    • GUM

      public static final StickType GUM
    • HAMMER

      public static final StickType HAMMER
    • SUPERBALL

      public static final StickType SUPERBALL
    • TIMPANI

      public static final StickType TIMPANI
    • WOUND

      public static final StickType WOUND
    • XYLOPHONE

      public static final StickType XYLOPHONE
    • YARN

      public static final StickType YARN
  • Method Details

    • values

      public static StickType[] 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 StickType 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 StickType fromValue(String v)