Package | Description |
---|---|
javafx.scene.web |
This package provides means for loading and displaying Web content.
|
Modifier and Type | Field and Description |
---|---|
static EventType<WebErrorEvent> |
WebErrorEvent.ANY
Common supertype for all
WebErrorEvent types. |
static EventType<WebErrorEvent> |
WebErrorEvent.USER_DATA_DIRECTORY_ALREADY_IN_USE
This event occurs when a
WebEngine detects that its
user data directory is already in use by a WebEngine
running in a different VM. |
static EventType<WebErrorEvent> |
WebErrorEvent.USER_DATA_DIRECTORY_IO_ERROR
This event occurs when a
WebEngine encounters
an I/O error while trying to create or access the user
data directory. |
static EventType<WebErrorEvent> |
WebErrorEvent.USER_DATA_DIRECTORY_SECURITY_ERROR
This event occurs when a
WebEngine encounters
a security error while trying to create or access the user
data directory. |
Modifier and Type | Method and Description |
---|---|
EventHandler<WebErrorEvent> |
WebEngine.getOnError()
Gets the value of the property onError.
|
ObjectProperty<EventHandler<WebErrorEvent>> |
WebEngine.onErrorProperty()
The event handler called when an error occurs.
|
Modifier and Type | Method and Description |
---|---|
void |
WebEngine.setOnError(EventHandler<WebErrorEvent> handler)
Sets the value of the property onError.
|
Constructor and Description |
---|
WebErrorEvent(Object source,
EventType<WebErrorEvent> type,
String message,
Throwable exception)
Creates a new
WebErrorEvent . |
Copyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.