public class PlatformImpl extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
PlatformImpl.FinishListener |
Constructor and Description |
---|
PlatformImpl() |
Modifier and Type | Method and Description |
---|---|
static BooleanProperty |
accessibilityActiveProperty() |
static void |
addListener(PlatformImpl.FinishListener l) |
static void |
addNoTransparencyStylesheetToScene(Scene scene) |
static void |
exit() |
static boolean |
isCaspian()
Current Platform User Agent Stylesheet is Caspian.
|
static boolean |
isContextual2DNavigation()
Return whether or not focus navigation between controls is context-
sensitive.
|
static boolean |
isFxApplicationThread() |
static boolean |
isImplicitExit() |
static boolean |
isModena()
Current Platform User Agent Stylesheet is Modena.
|
static boolean |
isSupported(ConditionalFeature feature) |
static boolean |
isTaskbarApplication()
Returns the current value of the taskBarApplication flag.
|
static void |
removeListener(PlatformImpl.FinishListener l) |
static void |
runAndWait(Runnable r) |
static void |
runLater(Runnable r) |
static boolean |
setAccessibilityTheme(String platformTheme) |
static void |
setApplicationName(Class appClass)
Sets the name of the this application based on the Application class.
|
static void |
setDefaultPlatformUserAgentStylesheet()
Set the platform user agent stylesheet to the default.
|
static void |
setImplicitExit(boolean implicitExit) |
static void |
setPlatformUserAgentStylesheet(String stylesheetUrl)
Set the platform user agent stylesheet to the given URL.
|
static void |
setTaskbarApplication(boolean taskbarApplication)
Set a flag indicating whether this application should show up in the
task bar.
|
static void |
startup(Runnable r)
This method is invoked typically on the main thread.
|
static void |
tkExit() |
public static void setTaskbarApplication(boolean taskbarApplication)
taskbarApplication
- the new value of this attributepublic static boolean isTaskbarApplication()
public static void setApplicationName(Class appClass)
appClass
- the Application class.public static boolean isContextual2DNavigation()
public static void startup(Runnable r)
r
- public static boolean isFxApplicationThread()
public static void runLater(Runnable r)
public static void runAndWait(Runnable r)
public static void setImplicitExit(boolean implicitExit)
public static boolean isImplicitExit()
public static void addListener(PlatformImpl.FinishListener l)
public static void removeListener(PlatformImpl.FinishListener l)
public static void tkExit()
public static BooleanProperty accessibilityActiveProperty()
public static void exit()
public static boolean isSupported(ConditionalFeature feature)
public static void setDefaultPlatformUserAgentStylesheet()
public static boolean isModena()
public static boolean isCaspian()
public static void setPlatformUserAgentStylesheet(String stylesheetUrl)
public static boolean setAccessibilityTheme(String platformTheme)
public static void addNoTransparencyStylesheetToScene(Scene scene)
Copyright © 2020. All rights reserved.