public static enum Scale.ScaleElement extends Enum<Scale.ScaleElement>
Modifier and Type | Method and Description |
---|---|
String |
getElement() |
String |
toString() |
static Scale.ScaleElement |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scale.ScaleElement[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scale.ScaleElement DEFAULT
public static final Scale.ScaleElement BOTH
public static final Scale.ScaleElement BOX
public static final Scale.ScaleElement CONTENT
public static Scale.ScaleElement[] values()
for (Scale.ScaleElement c : Scale.ScaleElement.values()) System.out.println(c);
public static Scale.ScaleElement 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 getElement()
public String toString()
toString
in class Enum<Scale.ScaleElement>
Copyright © 2015. All rights reserved.