public static enum Style.Anchor extends Enum<Style.Anchor>
Enum Constant and Description |
---|
BOTTOM |
BOTTOM_LEFT |
BOTTOM_RIGHT |
CENTER |
LEFT |
RIGHT |
TOP |
TOP_LEFT |
TOP_RIGHT |
Modifier and Type | Method and Description |
---|---|
boolean |
isBottom() |
boolean |
isLeft() |
boolean |
isRight() |
boolean |
isTop() |
static Style.Anchor |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Style.Anchor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Style.Anchor TOP
public static final Style.Anchor TOP_RIGHT
public static final Style.Anchor RIGHT
public static final Style.Anchor BOTTOM_RIGHT
public static final Style.Anchor BOTTOM
public static final Style.Anchor BOTTOM_LEFT
public static final Style.Anchor LEFT
public static final Style.Anchor TOP_LEFT
public static final Style.Anchor CENTER
public static Style.Anchor[] values()
for (Style.Anchor c : Style.Anchor.values()) System.out.println(c);
public static Style.Anchor 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 boolean isBottom()
public boolean isLeft()
public boolean isRight()
public boolean isTop()
Copyright © 2018. All rights reserved.