public enum CornerPosition extends Enum<CornerPosition>
| Enum Constant and Description |
|---|
bottomLeft |
bottomRight |
topLeft |
topRight |
| Modifier and Type | Method and Description |
|---|---|
String |
getShortcut() |
String |
toString() |
static CornerPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CornerPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CornerPosition topLeft
public static final CornerPosition topRight
public static final CornerPosition bottomLeft
public static final CornerPosition bottomRight
public static CornerPosition[] values()
for (CornerPosition c : CornerPosition.values()) System.out.println(c);
public static CornerPosition 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 getShortcut()
public String toString()
toString in class Enum<CornerPosition>Copyright © 2012 JBoss by Red Hat. All Rights Reserved.