|
Oracle Outside In Java API Reference 8.5.4 E91699-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<Annotation.UnitTypeValue>
com.oracle.outsidein.annotations.Annotation.UnitTypeValue
public static enum Annotation.UnitTypeValue
Units that specify how the dimensions and location values of the annotation should be interpreted.
Enum Constant Summary | |
---|---|
CELLS Units specified in cell positions |
|
PIXELS Units specified in pixels |
|
TWIPS Units specified in twips (1/1440th of an inch) |
Method Summary | |
---|---|
static Annotation.UnitTypeValue |
valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static Annotation.UnitTypeValue[] |
values() Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Annotation.UnitTypeValue PIXELS
public static final Annotation.UnitTypeValue TWIPS
public static final Annotation.UnitTypeValue CELLS
Method Detail |
---|
public static Annotation.UnitTypeValue[] values()
for (Annotation.UnitTypeValue c : Annotation.UnitTypeValue.values()) System.out.println(c);
public static Annotation.UnitTypeValue 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 null
|
Oracle Outside In Java API Reference 8.5.4 E91699-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |