|
Oracle Outside In Java API Reference 8.5.3 E57629-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object
java.lang.Enum<StampAnnotation.SizingMethodValue>
com.oracle.outsidein.annotations.StampAnnotation.SizingMethodValue
public static enum StampAnnotation.SizingMethodValue
The method used to scale the stamp image.
Enum Constant Summary | |
---|---|
FIT The source image will be scaled with its aspect ratio preserved to fit inside the rectangle specified by the annotations dimensions. |
|
SOURCE The source image will be rendered at its native size. |
|
STRETCH The source image will be stretched to fill the highlight rectangle |
Method Summary | |
---|---|
static StampAnnotation.SizingMethodValue |
valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. |
static StampAnnotation.SizingMethodValue[] |
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 StampAnnotation.SizingMethodValue FIT
public static final StampAnnotation.SizingMethodValue STRETCH
public static final StampAnnotation.SizingMethodValue SOURCE
Method Detail |
---|
public static StampAnnotation.SizingMethodValue[] values()
for (StampAnnotation.SizingMethodValue c : StampAnnotation.SizingMethodValue.values()) System.out.println(c);
public static StampAnnotation.SizingMethodValue 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.3 E57629-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |