|
Groovy Documentation | |||||||
| FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||
java.lang.Objectjava.lang.Enum
griffon.effects.Anchor
enum Anchor extends Enum
| Enum Constant Summary | |
|---|---|
BOTTOM
|
|
BOTTOM_LEFT
|
|
BOTTOM_RIGHT
|
|
CENTER
|
|
LEFT
|
|
RIGHT
|
|
TOP
|
|
TOP_LEFT
|
|
TOP_RIGHT
|
|
| Method Summary | |
|---|---|
boolean
|
isBottom()
|
boolean
|
isLeft()
|
boolean
|
isRight()
|
boolean
|
isTop()
|
static Anchor
|
resolve(Object value)
Resolves the object to a valid Anchor value. |
static Anchor
|
resolve(Anchor value)
Resolves the object to a valid Anchor value. |
static Anchor
|
resolve(GString value)
Resolves the string to a valid Anchor value. |
static Anchor
|
resolve(String value)
Resolves the object to a valid Anchor value. |
Anchor
|
valueOf(String name)
Returns the enum constant of this type with the specified name. |
Anchor[]
|
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class Enum | |
|---|---|
| name, equals, toString, hashCode, compareTo, compareTo, valueOf, getDeclaringClass, ordinal, wait, wait, wait, getClass, notify, notifyAll |
| Methods inherited from class Object | |
|---|---|
| wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
| Enum Constant Detail |
|---|
Anchor BOTTOM
Anchor BOTTOM_LEFT
Anchor BOTTOM_RIGHT
Anchor CENTER
Anchor LEFT
Anchor RIGHT
Anchor TOP
Anchor TOP_LEFT
Anchor TOP_RIGHT
| Method Detail |
|---|
boolean isBottom()
boolean isLeft()
boolean isRight()
boolean isTop()
static Anchor resolve(Object value)
value - an object. May be null.
static Anchor resolve(Anchor value)
value - an Anchor instance.
static Anchor resolve(GString value)
Attempts conversion by matching common names to Anchor constants. Accepts aliases. Input may be in lower, upper and/or mixed case. Spaces are transformed inbto _.
Valid values are:
value - a GString
static Anchor resolve(String value)
Anchor valueOf(String name)
Anchor[] values()
Groovy Documentation