public enum TimeSeparator extends Enum<TimeSeparator>
Java class for time-separator.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="time-separator">
<restriction base="{http://www.w3.org/2001/XMLSchema}token">
<enumeration value="none"/>
<enumeration value="horizontal"/>
<enumeration value="diagonal"/>
<enumeration value="vertical"/>
<enumeration value="adjacent"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ADJACENT |
DIAGONAL |
HORIZONTAL |
NONE |
VERTICAL |
| Modifier and Type | Method and Description |
|---|---|
static TimeSeparator |
fromValue(String v) |
String |
value() |
static TimeSeparator |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TimeSeparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeSeparator NONE
public static final TimeSeparator HORIZONTAL
public static final TimeSeparator DIAGONAL
public static final TimeSeparator VERTICAL
public static final TimeSeparator ADJACENT
public static TimeSeparator[] values()
for (TimeSeparator c : TimeSeparator.values()) System.out.println(c);
public static TimeSeparator 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 TimeSeparator fromValue(String v)
Copyright © 2016 Audiveris Ltd. All rights reserved.