public enum JavaFXPlatform extends java.lang.Enum<JavaFXPlatform>
Modifier and Type | Method and Description |
---|---|
static JavaFXPlatform |
getCurrent() |
static boolean |
isAndroid() |
static boolean |
isDesktop() |
static boolean |
isIOS() |
static JavaFXPlatform |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static JavaFXPlatform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JavaFXPlatform DESKTOP
public static final JavaFXPlatform ANDROID
public static final JavaFXPlatform IOS
public static JavaFXPlatform[] values()
for (JavaFXPlatform c : JavaFXPlatform.values()) System.out.println(c);
public static JavaFXPlatform 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 final JavaFXPlatform getCurrent()
public static final boolean isDesktop()
public static final boolean isAndroid()
public static final boolean isIOS()