Class OpenJFXWebFxKitLauncherProvider
java.lang.Object
dev.webfx.kit.launcher.spi.impl.base.WebFxKitLauncherProviderBase
dev.webfx.kit.launcher.spi.impl.openjfx.OpenJFXWebFxKitLauncherProvider
- All Implemented Interfaces:
WebFxKitLauncherProvider
- Author:
- Bruno Salmon
-
Property Summary
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
getFastPixelReaderWriter
(Image image) double
boolean
boolean
isReady()
void
launchApplication
(dev.webfx.platform.util.function.Factory<Application> applicationFactory, String... args) double
measureBaselineOffset
(Font font) measureText
(String text, Font font) void
boolean
requestNodeFullscreen
(Node node) Methods inherited from class dev.webfx.kit.launcher.spi.impl.base.WebFxKitLauncherProviderBase
isStageProgrammaticallyRelocatableAndResizable
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface dev.webfx.kit.launcher.spi.WebFxKitLauncherProvider
canvasPixelDensityProperty, createDragboard, getCanvasPixelDensity, getDefaultCanvasPixelDensity, getGraphicsContext2D, getPrimaryScreen, getSafeAreaInsets, getSystemClipboard, loadingFonts, setCanvasPixelDensity, supportsSvgImageFormat, supportsWebPImageFormat
-
Property Details
-
safeAreaInsets
- See Also:
-
-
Constructor Details
-
OpenJFXWebFxKitLauncherProvider
public OpenJFXWebFxKitLauncherProvider()
-
-
Method Details
-
getVerticalScrollbarExtraWidth
public double getVerticalScrollbarExtraWidth() -
getHostServices
-
getPrimaryStage
- Specified by:
getPrimaryStage
in interfaceWebFxKitLauncherProvider
- Overrides:
getPrimaryStage
in classWebFxKitLauncherProviderBase
-
getApplication
-
launchApplication
public void launchApplication(dev.webfx.platform.util.function.Factory<Application> applicationFactory, String... args) -
isReady
public boolean isReady() -
onReady
-
getFastPixelReaderWriter
-
measureText
-
measureBaselineOffset
-
safeAreaInsetsProperty
- Returns:
- the
safeAreaInsets
property
-
isFullscreenEnabled
public boolean isFullscreenEnabled() -
requestNodeFullscreen
-
exitFullscreen
public boolean exitFullscreen()
-