public static enum YDisplayLayer.ALIGN extends Enum<YDisplayLayer.ALIGN>
Enum Constant and Description |
---|
BASELINE_CENTER |
BASELINE_DECIMAL |
BASELINE_LEFT |
BASELINE_RIGHT |
BOTTOM_CENTER |
BOTTOM_DECIMAL |
BOTTOM_LEFT |
BOTTOM_RIGHT |
CENTER |
CENTER_DECIMAL |
CENTER_LEFT |
CENTER_RIGHT |
TOP_CENTER |
TOP_DECIMAL |
TOP_LEFT |
TOP_RIGHT |
Modifier and Type | Field and Description |
---|---|
int |
value |
Modifier and Type | Method and Description |
---|---|
static YDisplayLayer.ALIGN |
fromInt(int intval) |
static YDisplayLayer.ALIGN |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static YDisplayLayer.ALIGN[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final YDisplayLayer.ALIGN TOP_LEFT
public static final YDisplayLayer.ALIGN CENTER_LEFT
public static final YDisplayLayer.ALIGN BASELINE_LEFT
public static final YDisplayLayer.ALIGN BOTTOM_LEFT
public static final YDisplayLayer.ALIGN TOP_CENTER
public static final YDisplayLayer.ALIGN CENTER
public static final YDisplayLayer.ALIGN BASELINE_CENTER
public static final YDisplayLayer.ALIGN BOTTOM_CENTER
public static final YDisplayLayer.ALIGN TOP_DECIMAL
public static final YDisplayLayer.ALIGN CENTER_DECIMAL
public static final YDisplayLayer.ALIGN BASELINE_DECIMAL
public static final YDisplayLayer.ALIGN BOTTOM_DECIMAL
public static final YDisplayLayer.ALIGN TOP_RIGHT
public static final YDisplayLayer.ALIGN CENTER_RIGHT
public static final YDisplayLayer.ALIGN BASELINE_RIGHT
public static final YDisplayLayer.ALIGN BOTTOM_RIGHT
public static YDisplayLayer.ALIGN[] values()
for (YDisplayLayer.ALIGN c : YDisplayLayer.ALIGN.values()) System.out.println(c);
public static YDisplayLayer.ALIGN 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 static YDisplayLayer.ALIGN fromInt(int intval)
Copyright © 2017. All rights reserved.