Enum Class BarStyle

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

public enum BarStyle extends Enum<BarStyle>

Java class for bar-style.

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

 &lt;simpleType name="bar-style">
   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
     &lt;enumeration value="regular"/>
     &lt;enumeration value="dotted"/>
     &lt;enumeration value="dashed"/>
     &lt;enumeration value="heavy"/>
     &lt;enumeration value="light-light"/>
     &lt;enumeration value="light-heavy"/>
     &lt;enumeration value="heavy-light"/>
     &lt;enumeration value="heavy-heavy"/>
     &lt;enumeration value="tick"/>
     &lt;enumeration value="short"/>
     &lt;enumeration value="none"/>
   &lt;/restriction>
 &lt;/simpleType>
 
  • Enum Constant Details

    • REGULAR

      public static final BarStyle REGULAR
    • DOTTED

      public static final BarStyle DOTTED
    • DASHED

      public static final BarStyle DASHED
    • HEAVY

      public static final BarStyle HEAVY
    • LIGHT_LIGHT

      public static final BarStyle LIGHT_LIGHT
    • LIGHT_HEAVY

      public static final BarStyle LIGHT_HEAVY
    • HEAVY_LIGHT

      public static final BarStyle HEAVY_LIGHT
    • HEAVY_HEAVY

      public static final BarStyle HEAVY_HEAVY
    • TICK

      public static final BarStyle TICK
    • SHORT

      public static final BarStyle SHORT
    • NONE

      public static final BarStyle NONE
  • Method Details

    • values

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