public static enum ElevationUtil.Orientation extends java.lang.Enum<ElevationUtil.Orientation>
| Enum Constant and Description |
|---|
BOTTOM
If the shadow is located below the bottom edge of the elevated view.
|
BOTTOM_LEFT
If the shadow is located at the bottom left corner of the elevated view.
|
BOTTOM_RIGHT
If the shadow is located at the bottom right corner of the elevated view.
|
LEFT
If the shadow is located besides the left edge of the elevated view.
|
RIGHT
If the shadow is located besides the right edge of the elevated view.
|
TOP
If the shadow is located above the top edge of the elevated view.
|
TOP_LEFT
If the shadow is located at the top left corner of the elevated view.
|
TOP_RIGHT
If the shadow is located at the top right corner of the elevated view.
|
| Modifier and Type | Method and Description |
|---|---|
static ElevationUtil.Orientation |
fromValue(int value)
Returns the orientation, which corresponds to a specific value.
|
int |
getValue()
Returns the value of the orientation.
|
static ElevationUtil.Orientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ElevationUtil.Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ElevationUtil.Orientation LEFT
public static final ElevationUtil.Orientation TOP
public static final ElevationUtil.Orientation RIGHT
public static final ElevationUtil.Orientation BOTTOM
public static final ElevationUtil.Orientation TOP_LEFT
public static final ElevationUtil.Orientation TOP_RIGHT
public static final ElevationUtil.Orientation BOTTOM_LEFT
public static final ElevationUtil.Orientation BOTTOM_RIGHT
public static ElevationUtil.Orientation[] values()
for (ElevationUtil.Orientation c : ElevationUtil.Orientation.values()) System.out.println(c);
public static ElevationUtil.Orientation valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic final int getValue()
Integer valuepublic static ElevationUtil.Orientation fromValue(int value)
value - The value, the orientation, which should be returned, corresponds to, as an
Integer valueElevationUtil.Orientation