public enum GalleryType extends Enum<GalleryType>
| Modifier and Type | Method and Description |
|---|---|
static GalleryType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GalleryType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GalleryType LANDSCAPE
public static final GalleryType PORTRAIT
public static final GalleryType SQUARE
public static GalleryType[] values()
for (GalleryType c : GalleryType.values()) System.out.println(c);
public static GalleryType 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 nullCopyright © 2012–2020 T.I.V. Consulting GmbH. All rights reserved.