public enum AspectRatio extends Enum<AspectRatio>
| Enum Constant and Description |
|---|
DOUBLE_OCTAVE |
GOLDEN_SECTION |
MAJOR_ELEVENTH |
MAJOR_SECOND |
MAJOR_SEVENTH |
MAJOR_SIXTH |
MAJOR_TENTH |
MAJOR_THIRD |
MAJOR_TWELFTH |
MINOR_SECOND |
MINOR_SEVENTH |
MINOR_SIXTH |
MINOR_THIRD |
OCTAVE |
PERFECT_FIFTH |
PERFECT_FOURTH |
SQUARE |
| Modifier and Type | Method and Description |
|---|---|
String |
styleClass() |
String |
toString() |
static AspectRatio |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AspectRatio[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AspectRatio SQUARE
public static final AspectRatio MINOR_SECOND
public static final AspectRatio MAJOR_SECOND
public static final AspectRatio MINOR_THIRD
public static final AspectRatio MAJOR_THIRD
public static final AspectRatio PERFECT_FOURTH
public static final AspectRatio PERFECT_FIFTH
public static final AspectRatio MINOR_SIXTH
public static final AspectRatio GOLDEN_SECTION
public static final AspectRatio MAJOR_SIXTH
public static final AspectRatio MINOR_SEVENTH
public static final AspectRatio MAJOR_SEVENTH
public static final AspectRatio OCTAVE
public static final AspectRatio MAJOR_TENTH
public static final AspectRatio MAJOR_ELEVENTH
public static final AspectRatio MAJOR_TWELFTH
public static final AspectRatio DOUBLE_OCTAVE
public static AspectRatio[] values()
for (AspectRatio c : AspectRatio.values()) System.out.println(c);
public static AspectRatio 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 styleClass()
public String toString()
toString in class Enum<AspectRatio>Copyright © 2016. All rights reserved.