Package javafx.scene.web
Class WebEngine
java.lang.Object
javafx.scene.web.WebEngine
- Author:
- Bruno Salmon
-
Property Summary
Properties -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteScript(String script) final EventHandler<WebErrorEvent>Gets the value of theonErrorproperty.final StringGets the value of theuserStyleSheetLocationproperty.voidvoidloadContent(String content) voidloadContent(String content, String contentType) final ObjectProperty<EventHandler<WebErrorEvent>>final voidsetOnError(EventHandler<WebErrorEvent> handler) Sets the value of theonErrorproperty.final voidsetUserStyleSheetLocation(String value) Sets the value of theuserStyleSheetLocationproperty.final StringProperty
-
Property Details
-
onError
-
userStyleSheetLocation
-
-
Constructor Details
-
WebEngine
public WebEngine()
-
-
Method Details
-
getOnError
Gets the value of theonErrorproperty.- Property description:
- Returns:
- the value of the
onErrorproperty - See Also:
-
setOnError
Sets the value of theonErrorproperty.- Property description:
- Parameters:
handler- the value for theonErrorproperty- See Also:
-
onErrorProperty
- Returns:
- the
onErrorproperty - See Also:
-
getWebView
-
load
-
loadContent
-
loadContent
-
getLoadWorker
-
executeScript
-
setUserStyleSheetLocation
Sets the value of theuserStyleSheetLocationproperty.- Property description:
- Parameters:
value- the value for theuserStyleSheetLocationproperty- See Also:
-
getUserStyleSheetLocation
Gets the value of theuserStyleSheetLocationproperty.- Property description:
- Returns:
- the value of the
userStyleSheetLocationproperty - See Also:
-
userStyleSheetLocationProperty
- Returns:
- the
userStyleSheetLocationproperty - See Also:
-