Package dev.webfx.kit.launcher.spi
Interface WebFxKitLauncherProvider
- All Known Implementing Classes:
GwtJ2clWebFxKitLauncherProvider
,OpenJFXWebFxKitLauncherProvider
,WebFxKitLauncherProviderBase
public interface WebFxKitLauncherProvider
- Author:
- Bruno Salmon
-
Property Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault DoubleProperty
canvasPixelDensityProperty
(Canvas canvas) default Dragboard
createDragboard
(Scene scene) default boolean
default double
getCanvasPixelDensity
(Canvas canvas) default double
getFastPixelReaderWriter
(Image image) default GraphicsContext
getGraphicsContext2D
(Canvas canvas, boolean willReadFrequently) default Screen
default Insets
Gets the value of thesafeAreaInsets
property.default Clipboard
default double
default boolean
default boolean
isReady()
boolean
void
launchApplication
(dev.webfx.platform.util.function.Factory<Application> applicationFactory, String... args) default ObservableList<Font>
double
measureBaselineOffset
(Font font) measureText
(String text, Font font) default void
default boolean
requestNodeFullscreen
(Node node) default void
setCanvasPixelDensity
(Canvas canvas, double pixelDensity) default boolean
default boolean
-
Property Details
-
safeAreaInsets
ReadOnlyObjectProperty<Insets> safeAreaInsetsProperty- See Also:
-
-
Method Details
-
getHostServices
HostServices getHostServices() -
isStageProgrammaticallyRelocatableAndResizable
boolean isStageProgrammaticallyRelocatableAndResizable() -
getPrimaryScreen
-
getSystemClipboard
-
createDragboard
-
getPrimaryStage
Stage getPrimaryStage() -
getApplication
Application getApplication() -
launchApplication
void launchApplication(dev.webfx.platform.util.function.Factory<Application> applicationFactory, String... args) -
isReady
default boolean isReady() -
onReady
-
getVerticalScrollbarExtraWidth
default double getVerticalScrollbarExtraWidth() -
supportsSvgImageFormat
default boolean supportsSvgImageFormat() -
supportsWebPImageFormat
default boolean supportsWebPImageFormat() -
getFastPixelReaderWriter
-
getGraphicsContext2D
-
canvasPixelDensityProperty
-
setCanvasPixelDensity
-
getCanvasPixelDensity
-
getDefaultCanvasPixelDensity
default double getDefaultCanvasPixelDensity() -
measureText
-
measureBaselineOffset
-
loadingFonts
-
safeAreaInsetsProperty
ReadOnlyObjectProperty<Insets> safeAreaInsetsProperty()- Returns:
- the
safeAreaInsets
property - See Also:
-
getSafeAreaInsets
Gets the value of thesafeAreaInsets
property.- Property description:
- Returns:
- the value of the
safeAreaInsets
property - See Also:
-
isFullscreenEnabled
default boolean isFullscreenEnabled() -
requestNodeFullscreen
-
exitFullscreen
default boolean exitFullscreen()
-