| Access | Constructor and Description |
|---|---|
| public | JavaFxWebEngine(WebEngine
The JavaFX WebEngine to use. engine)Builds a new engine utilizing the specified JavaFX WebEngine |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: The object returned by the script (if any).The command to execute command)Implements com. Executes the specified JavaScript Command |
| public Worker | Returns: The workerImplements com. Gets a worked which will be notified when a web page has finished loading. |
| public void | load(String
The URL to load in the engine. url)Implements com. Loads the specified URL |
| public void | loadContent(String
The HTML text to load in the engine. content)Implements com. Loads the given HTML content directly. |
| public void | |
| public void |
| webEngine | back to summary |
|---|---|
| protected WebEngine webEngine | |
| JavaFxWebEngine | back to summary |
|---|---|
| public JavaFxWebEngine(WebEngine engine) Builds a new engine utilizing the specified JavaFX WebEngine
| |
| executeScript | back to summary |
|---|---|
| public Object executeScript(String command) Implements com. Executes the specified JavaScript Command | |
| getLoadWorker | back to summary |
|---|---|
| public Worker Implements com. Gets a worked which will be notified when a web page has finished loading. | |
| load | back to summary |
|---|---|
| public void load(String url) Implements com. Loads the specified URL | |
| loadContent | back to summary |
|---|---|
| public void loadContent(String content) Implements com. Loads the given HTML content directly. | |
| setOnAlert | back to summary |
|---|---|
| public void setOnAlert(EventHandler<WebEvent<String>> eventHandler) | |
| setOnError | back to summary |
|---|---|
| public void setOnError(EventHandler<WebErrorEvent> eventHandler) | |