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
Properties -
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFastPixelReaderWriter(Image image) doublebooleanbooleanisReady()voidlaunchApplication(dev.webfx.platform.util.function.Factory<Application> applicationFactory, String... args) doublemeasureBaselineOffset(Font font) measureText(String text, Font font) voidbooleanrequestNodeFullscreen(Node node) Methods inherited from class dev.webfx.kit.launcher.spi.impl.base.WebFxKitLauncherProviderBase
isStageProgrammaticallyRelocatableAndResizableMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
getPrimaryStagein interfaceWebFxKitLauncherProvider- Overrides:
getPrimaryStagein 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
safeAreaInsetsproperty
-
isFullscreenEnabled
public boolean isFullscreenEnabled() -
requestNodeFullscreen
-
exitFullscreen
public boolean exitFullscreen()
-