public enum PlatformType extends Enum<PlatformType>
Modifier and Type | Method and Description |
---|---|
String |
getId() |
String |
getStyleName(boolean isPortrait) |
String |
toString() |
static PlatformType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PlatformType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PlatformType DESKTOP
public static final PlatformType TABLET
public static final PlatformType MOBILE
public static PlatformType[] values()
for (PlatformType c : PlatformType.values()) System.out.println(c);
public static PlatformType 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 getStyleName(boolean isPortrait)
public String toString()
toString
in class Enum<PlatformType>
public String getId()
Copyright © 2015 Magnolia International Ltd.. All rights reserved.