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