public enum BarStyle extends Enum<BarStyle>
Java class for bar-style.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="bar-style">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="regular"/>
<enumeration value="dotted"/>
<enumeration value="dashed"/>
<enumeration value="heavy"/>
<enumeration value="light-light"/>
<enumeration value="light-heavy"/>
<enumeration value="heavy-light"/>
<enumeration value="heavy-heavy"/>
<enumeration value="tick"/>
<enumeration value="short"/>
<enumeration value="none"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DASHED |
DOTTED |
HEAVY |
HEAVY_HEAVY |
HEAVY_LIGHT |
LIGHT_HEAVY |
LIGHT_LIGHT |
NONE |
REGULAR |
SHORT |
TICK |
| Modifier and Type | Method and Description |
|---|---|
static BarStyle |
fromValue(String v) |
String |
value() |
static BarStyle |
valueOf(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.
|
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
public static BarStyle[] values()
for (BarStyle c : BarStyle.values()) System.out.println(c);
public static BarStyle 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()
Copyright © 2016 Audiveris Ltd. All rights reserved.