Uses of Class
javafx.scene.web.WebErrorEvent
Package
Description
This package provides means for loading and displaying Web content.
-
Uses of WebErrorEvent in javafx.scene.web
Modifier and TypeFieldDescriptionstatic final EventType<WebErrorEvent>
WebErrorEvent.ANY
Common supertype for allWebErrorEvent
types.static final EventType<WebErrorEvent>
WebErrorEvent.USER_DATA_DIRECTORY_ALREADY_IN_USE
This event occurs when aWebEngine
detects that its user data directory is already in use by aWebEngine
running in a different VM.static final EventType<WebErrorEvent>
WebErrorEvent.USER_DATA_DIRECTORY_IO_ERROR
This event occurs when aWebEngine
encounters an I/O error while trying to create or access the user data directory.static final EventType<WebErrorEvent>
WebErrorEvent.USER_DATA_DIRECTORY_SECURITY_ERROR
This event occurs when aWebEngine
encounters a security error while trying to create or access the user data directory.Modifier and TypeMethodDescriptionfinal EventHandler<WebErrorEvent>
WebEngine.getOnError()
Gets the value of theonError
property.final ObjectProperty<EventHandler<WebErrorEvent>>
WebEngine.onErrorProperty()
The event handler called when an error occurs.Modifier and TypeMethodDescriptionfinal void
WebEngine.setOnError
(EventHandler<WebErrorEvent> handler) Sets the value of theonError
property.ModifierConstructorDescriptionWebErrorEvent
(Object source, EventType<WebErrorEvent> type, String message, Throwable exception) Creates a newWebErrorEvent
.