public enum EnclosureShape extends Enum<EnclosureShape>
Java class for enclosure-shape.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="enclosure-shape">
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="rectangle"/>
<enumeration value="square"/>
<enumeration value="oval"/>
<enumeration value="circle"/>
<enumeration value="bracket"/>
<enumeration value="triangle"/>
<enumeration value="diamond"/>
<enumeration value="none"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
BRACKET |
CIRCLE |
DIAMOND |
NONE |
OVAL |
RECTANGLE |
SQUARE |
TRIANGLE |
| Modifier and Type | Method and Description |
|---|---|
static EnclosureShape |
fromValue(String v) |
String |
value() |
static EnclosureShape |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EnclosureShape[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EnclosureShape RECTANGLE
public static final EnclosureShape SQUARE
public static final EnclosureShape OVAL
public static final EnclosureShape CIRCLE
public static final EnclosureShape BRACKET
public static final EnclosureShape TRIANGLE
public static final EnclosureShape DIAMOND
public static final EnclosureShape NONE
public static EnclosureShape[] values()
for (EnclosureShape c : EnclosureShape.values()) System.out.println(c);
public static EnclosureShape valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic String value()
public static EnclosureShape fromValue(String v)
Copyright © 2016 Audiveris Ltd. All rights reserved.