|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<BarStyle>
net.charlesames.music.musicxml.attribute.BarStyle
public enum BarStyle
Selection options for MusicXML BarStyle attributes.
| Enum Constant Summary | |
|---|---|
DASHED
Single dashed |
|
DOTTED
Single dotted |
|
HEAVY
Single heavy |
|
HEAVY_HEAVY
Double heavy + heavy |
|
HEAVY_LIGHT
Double heavy + light |
|
LIGHT_HEAVY
Double light + heavy |
|
LIGHT_LIGHT
Double light + light |
|
NONE
No barline |
|
REGULAR
Single regular |
|
SHORT
Short - a partial barline between the 2nd and 4th lines |
|
TICK
Tick - a short stroke through the top line |
|
| Method Summary | |
|---|---|
static BarStyle |
fromText(java.lang.String text)
Look up the BarStyle instance corresponding to the indicated text. |
java.lang.String |
text()
The text value associated with this enumeration element. |
static BarStyle |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BarStyle[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final BarStyle REGULAR
public static final BarStyle DOTTED
public static final BarStyle DASHED
public static final BarStyle HEAVY
public static final BarStyle LIGHT_LIGHT
public static final BarStyle LIGHT_HEAVY
public static final BarStyle HEAVY_LIGHT
public static final BarStyle HEAVY_HEAVY
public static final BarStyle TICK
public static final BarStyle SHORT
public static final BarStyle NONE
| Method Detail |
|---|
public static BarStyle[] values()
for (BarStyle c : BarStyle.values()) System.out.println(c);
public static BarStyle valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic java.lang.String text()
public static BarStyle fromText(java.lang.String text)
BarStyle instance corresponding to the indicated text.
text - The indicated text.
BarStyle instance corresponding to the indicated text.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||