public static enum SmartCrop.CropType extends java.lang.Enum<SmartCrop.CropType>
| Enum Constant and Description |
|---|
BANNER
Represents crop is a banner
|
SWATCH
Represents crop is swatch
|
| Modifier and Type | Method and Description |
|---|---|
static SmartCrop.CropType |
fromString(java.lang.String value)
Parses string value to return corresponding enum value of
SmartCrop.CropType, defaults to banner |
static SmartCrop.CropType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SmartCrop.CropType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmartCrop.CropType BANNER
public static final SmartCrop.CropType SWATCH
public static SmartCrop.CropType[] values()
for (SmartCrop.CropType c : SmartCrop.CropType.values()) System.out.println(c);
public static SmartCrop.CropType 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 nullpublic static SmartCrop.CropType fromString(java.lang.String value)
SmartCrop.CropType, defaults to bannerstring - value of croptypeSmartCrop.CropTypeCopyright © 2010 - 2024 Adobe. All Rights Reserved