Enum Class LineShape

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

public enum LineShape extends Enum<LineShape>

Java class for line-shape.

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

 &lt;simpleType name="line-shape">
   &lt;restriction base="{http://www.w3.org/2001/XMLSchema}token">
     &lt;enumeration value="straight"/>
     &lt;enumeration value="curved"/>
   &lt;/restriction>
 &lt;/simpleType>
 
  • Enum Constant Details

    • STRAIGHT

      public static final LineShape STRAIGHT
    • CURVED

      public static final LineShape CURVED
  • Method Details

    • values

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