Class GwtJ2clWebFxKitLauncherProvider
java.lang.Object
dev.webfx.kit.launcher.spi.impl.base.WebFxKitLauncherProviderBase
dev.webfx.kit.launcher.spi.impl.gwtj2cl.GwtJ2clWebFxKitLauncherProvider
- All Implemented Interfaces:
WebFxKitLauncherProvider
- Author:
- Bruno Salmon
-
Property Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncanvasPixelDensityProperty
(Canvas canvas) createDragboard
(Scene scene) boolean
getFastPixelReaderWriter
(Image image) getGraphicsContext2D
(Canvas canvas, boolean willReadFrequently) boolean
void
launchApplication
(dev.webfx.platform.util.function.Factory<Application> applicationFactory, String... args) double
measureBaselineOffset
(Font font) measureText
(String text, Font font) boolean
requestNodeFullscreen
(Node node) boolean
boolean
void
Methods inherited from class dev.webfx.kit.launcher.spi.impl.base.WebFxKitLauncherProviderBase
getPrimaryStage, 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
getCanvasPixelDensity, getDefaultCanvasPixelDensity, getSafeAreaInsets, getVerticalScrollbarExtraWidth, isReady, onReady, setCanvasPixelDensity
-
Property Details
-
safeAreaInsets
- See Also:
-
-
Constructor Details
-
GwtJ2clWebFxKitLauncherProvider
public GwtJ2clWebFxKitLauncherProvider()
-
-
Method Details
-
getHostServices
-
getSystemClipboard
-
createDragboard
-
getPrimaryScreen
-
supportsSvgImageFormat
public boolean supportsSvgImageFormat() -
supportsWebPImageFormat
public boolean supportsWebPImageFormat() -
getFastPixelReaderWriter
-
getGraphicsContext2D
-
canvasPixelDensityProperty
-
measureText
-
measureBaselineOffset
-
loadingFonts
-
launchApplication
public void launchApplication(dev.webfx.platform.util.function.Factory<Application> applicationFactory, String... args) -
getApplication
-
safeAreaInsetsProperty
- Returns:
- the
safeAreaInsets
property
-
updateSafeAreaInsets
public void updateSafeAreaInsets() -
isFullscreenEnabled
public boolean isFullscreenEnabled() -
requestNodeFullscreen
-
exitFullscreen
public boolean exitFullscreen()
-