protected static enum WebAppManifest.Orientation extends Enum<WebAppManifest.Orientation>
WebAppManifest.getOrientation()
.Enum Constant and Description |
---|
ANY |
LANDSCAPE |
LANDSCAPE_PRIMARY |
LANDSCAPE_SECONDARY |
NATURAL |
PORTRAIT |
PORTRAIT_PRIMARY |
PORTRAIT_SECONDARY |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static WebAppManifest.Orientation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WebAppManifest.Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WebAppManifest.Orientation ANY
public static final WebAppManifest.Orientation NATURAL
public static final WebAppManifest.Orientation LANDSCAPE
public static final WebAppManifest.Orientation LANDSCAPE_PRIMARY
public static final WebAppManifest.Orientation LANDSCAPE_SECONDARY
public static final WebAppManifest.Orientation PORTRAIT
public static final WebAppManifest.Orientation PORTRAIT_PRIMARY
public static final WebAppManifest.Orientation PORTRAIT_SECONDARY
public static WebAppManifest.Orientation[] values()
for (WebAppManifest.Orientation c : WebAppManifest.Orientation.values()) System.out.println(c);
public static WebAppManifest.Orientation 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 nullpublic String toString()
toString
in class Enum<WebAppManifest.Orientation>
Copyright © 2012–2020 OmniFaces. All rights reserved.