public enum GUIState extends Enum<GUIState>
GUIState stores Scene and Stage objects as singletons in
this VM.| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static javafx.application.HostServices |
getHostServices() |
static javafx.scene.Scene |
getScene() |
static javafx.stage.Stage |
getStage() |
static SystemTray |
getSystemTray() |
static String |
getTitle() |
static void |
setScene(javafx.scene.Scene scene) |
static void |
setStage(javafx.stage.Stage stage) |
static void |
setTitle(String title) |
static GUIState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GUIState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GUIState INSTANCE
public static GUIState[] values()
for (GUIState c : GUIState.values()) System.out.println(c);
public static GUIState 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 static String getTitle()
public static javafx.scene.Scene getScene()
public static javafx.stage.Stage getStage()
public static void setScene(javafx.scene.Scene scene)
public static void setStage(javafx.stage.Stage stage)
public static void setTitle(String title)
public static javafx.application.HostServices getHostServices()
public static SystemTray getSystemTray()
Copyright © 2018. All rights reserved.