|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<BinaryDescriptor.PreviewSizes>
com.flexive.shared.value.BinaryDescriptor.PreviewSizes
public static enum BinaryDescriptor.PreviewSizes
Enumeration of all available preview sizes.
| Enum Constant Summary | |
|---|---|
ORIGINAL
|
|
PREVIEW1
|
|
PREVIEW2
|
|
PREVIEW3
|
|
| Method Summary | |
|---|---|
static BinaryDescriptor.PreviewSizes |
fromString(java.lang.String s)
Get a previewSize from a numeric String |
int |
getBlobIndex()
Get the blob index in the database containing the binary |
FxString |
getLabel()
Return the localized label of the object. |
int |
getSize()
Get the binary size constant |
static BinaryDescriptor.PreviewSizes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static BinaryDescriptor.PreviewSizes[] |
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 BinaryDescriptor.PreviewSizes PREVIEW1
public static final BinaryDescriptor.PreviewSizes PREVIEW2
public static final BinaryDescriptor.PreviewSizes PREVIEW3
public static final BinaryDescriptor.PreviewSizes ORIGINAL
| Method Detail |
|---|
public static BinaryDescriptor.PreviewSizes[] values()
for (BinaryDescriptor.PreviewSizes c : BinaryDescriptor.PreviewSizes.values()) System.out.println(c);
public static BinaryDescriptor.PreviewSizes 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 name
java.lang.NullPointerException - if the argument is nullpublic int getSize()
public int getBlobIndex()
public FxString getLabel()
getLabel in interface ObjectWithLabelpublic static BinaryDescriptor.PreviewSizes fromString(java.lang.String s)
s - String with numeric size
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||