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
Properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncanvasPixelDensityProperty(Canvas canvas) createDragboard(Scene scene) booleangetFastPixelReaderWriter(Image image) getGraphicsContext2D(Canvas canvas, boolean willReadFrequently) booleanvoidlaunchApplication(dev.webfx.platform.util.function.Factory<Application> applicationFactory, String... args) doublemeasureBaselineOffset(Font font) measureText(String text, Font font) booleanrequestNodeFullscreen(Node node) booleanbooleanvoidMethods inherited from class dev.webfx.kit.launcher.spi.impl.base.WebFxKitLauncherProviderBase
getPrimaryStage, 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
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
safeAreaInsetsproperty
-
updateSafeAreaInsets
public void updateSafeAreaInsets() -
isFullscreenEnabled
public boolean isFullscreenEnabled() -
requestNodeFullscreen
-
exitFullscreen
public boolean exitFullscreen()
-