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 theonError
property.final String
Gets the value of theuserStyleSheetLocation
property.void
void
loadContent
(String content) void
loadContent
(String content, String contentType) final ObjectProperty<EventHandler<WebErrorEvent>>
final void
setOnError
(EventHandler<WebErrorEvent> handler) Sets the value of theonError
property.final void
setUserStyleSheetLocation
(String value) Sets the value of theuserStyleSheetLocation
property.final StringProperty
-
Property Details
-
onError
-
userStyleSheetLocation
-
-
Constructor Details
-
WebEngine
public WebEngine()
-
-
Method Details
-
getOnError
Gets the value of theonError
property.- Property description:
- Returns:
- the value of the
onError
property - See Also:
-
setOnError
Sets the value of theonError
property.- Property description:
- Parameters:
handler
- the value for theonError
property- See Also:
-
onErrorProperty
- Returns:
- the
onError
property - See Also:
-
getWebView
-
load
-
loadContent
-
loadContent
-
getLoadWorker
-
executeScript
-
setUserStyleSheetLocation
Sets the value of theuserStyleSheetLocation
property.- Property description:
- Parameters:
value
- the value for theuserStyleSheetLocation
property- See Also:
-
getUserStyleSheetLocation
Gets the value of theuserStyleSheetLocation
property.- Property description:
- Returns:
- the value of the
userStyleSheetLocation
property - See Also:
-
userStyleSheetLocationProperty
- Returns:
- the
userStyleSheetLocation
property - See Also:
-