Verified Owner
Top Fields Constructors Methods
org.jabref.gui.theme

pack-priv final Class StyleSheetDataUrl

extends StyleSheet
Class Inheritance
Imports
java.net.URL

Field Summary

Modifier and TypeField and Description
private volatile String
private final URL
Inherited from org.jabref.gui.theme.StyleSheet:
DATA_URL_PREFIX

Constructor Summary

AccessConstructor and Description
pack-priv

Method Summary

Modifier and TypeMethod and Description
pack-priv URL
pack-priv String
getSceneStylesheetLocation()

Overrides org.jabref.gui.theme.StyleSheet.getSceneStylesheetLocation.

The location to put into Scene#getStylesheets.

pack-priv void
public String
toString()

Overrides org.jabref.gui.theme.StyleSheet.toString.

Returns a string representation of the object.

Inherited from org.jabref.gui.theme.StyleSheet:
createequalsgetNamegetWatchPathhashCode

Field Detail

dataUrlback to summary
private volatile String dataUrl
urlback to summary
private final URL url

Constructor Detail

StyleSheetDataUrlback to summary
pack-priv StyleSheetDataUrl(String name, URL url)

Method Detail

getSceneStylesheetback to summary
pack-priv URL getSceneStylesheet()

Implements abstract org.jabref.gui.theme.StyleSheet.getSceneStylesheet.

Annotations
@Override
getSceneStylesheetLocationback to summary
pack-priv String getSceneStylesheetLocation()

Overrides org.jabref.gui.theme.StyleSheet.getSceneStylesheetLocation.

Doc from org.jabref.gui.theme.StyleSheet.getSceneStylesheetLocation.

The location to put into Scene#getStylesheets. Typically a data: URL with the CSS embedded — that way the theme survives removal of the CSS file while the application is running, and JavaFX's stylesheet cache cannot serve stale content after a live reload (the URL changes with the content). Large stylesheets fall back to the plain URL.

Annotations
@Override
reloadback to summary
pack-priv void reload()

Implements abstract org.jabref.gui.theme.StyleSheet.reload.

Annotations
@Override
toStringback to summary
public String toString()

Overrides org.jabref.gui.theme.StyleSheet.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object. Satisfying this method's contract implies a non-null result must be returned.

Annotations
@Override