Class WebViews
java.lang.Object
qupath.lib.gui.tools.WebViews
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbindUserStylesheetToStyle(WebEngine engine) Bind theWebEngine.userStyleSheetLocationProperty()to a stylesheet determined based on QuPath's current style (e.g.static WebViewcreate(boolean bindStylesheetToStyle) Create a newWebView.static ReadOnlyStringProperty
-
Constructor Details
-
WebViews
public WebViews()
-
-
Method Details
-
create
-
bindUserStylesheetToStyle
Bind theWebEngine.userStyleSheetLocationProperty()to a stylesheet determined based on QuPath's current style (e.g. light or dark mode, serif or sans-serif fonts).- Parameters:
engine-
-
getStyleSheet
- Returns:
- a stylesheet based on QuPath's current style (e.g. light or dark mode, serif or sans-serif fonts)
-