public enum TipDirection extends Enum<TipDirection>
Java class for tip-direction.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="tip-direction">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="up"/>
<enumeration value="down"/>
<enumeration value="left"/>
<enumeration value="right"/>
<enumeration value="northwest"/>
<enumeration value="northeast"/>
<enumeration value="southeast"/>
<enumeration value="southwest"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
DOWN |
LEFT |
NORTHEAST |
NORTHWEST |
RIGHT |
SOUTHEAST |
SOUTHWEST |
UP |
| Modifier and Type | Method and Description |
|---|---|
static TipDirection |
fromValue(String v) |
String |
value() |
static TipDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TipDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TipDirection UP
public static final TipDirection DOWN
public static final TipDirection LEFT
public static final TipDirection RIGHT
public static final TipDirection NORTHWEST
public static final TipDirection NORTHEAST
public static final TipDirection SOUTHEAST
public static final TipDirection SOUTHWEST
public static TipDirection[] values()
for (TipDirection c : TipDirection.values()) System.out.println(c);
public static TipDirection 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 TipDirection fromValue(String v)
Copyright © 2016 Audiveris Ltd. All rights reserved.