public class JavaFxWebEngine extends Object implements IWebEngine
Modifier and Type | Field and Description |
---|---|
protected javafx.scene.web.WebEngine |
webEngine |
Constructor and Description |
---|
JavaFxWebEngine(javafx.scene.web.WebEngine engine)
Builds a new engine utilizing the specified JavaFX WebEngine
|
Modifier and Type | Method and Description |
---|---|
Object |
executeScript(String command)
Executes the specified JavaScript Command
|
javafx.concurrent.Worker<Void> |
getLoadWorker()
Gets a worked which will be notified when a web page has finished loading.
|
void |
load(String url)
Loads the specified URL
|
public JavaFxWebEngine(javafx.scene.web.WebEngine engine)
engine
- The JavaFX WebEngine to use.public Object executeScript(String command)
executeScript
in interface IWebEngine
command
- The command to executepublic javafx.concurrent.Worker<Void> getLoadWorker()
getLoadWorker
in interface IWebEngine
public void load(String url)
load
in interface IWebEngine
url
- The URL to load in the engine.Copyright © 2016. All Rights Reserved.