Uses of Class
javafx.scene.web.WebEvent
Package
Description
This package provides means for loading and displaying Web content.
-
Uses of WebEvent in javafx.scene.web
Modifier and TypeFieldDescriptionWebEvent.ALERT
This event occurs when a script calls the JavaScriptalert
function.WebEvent.ANY
Common supertype for all Web event types.WebEvent.RESIZED
This event occurs when a script changes location of the JavaScriptwindow
object.WebEvent.STATUS_CHANGED
This event occurs when a script changes status line text.WebEvent.VISIBILITY_CHANGED
This event occurs when a script changes visibility of the JavaScriptwindow
object.Modifier and TypeMethodDescriptionfinal EventHandler<WebEvent<String>>
WebEngine.getOnAlert()
Gets the value of theonAlert
property.final EventHandler<WebEvent<Rectangle2D>>
WebEngine.getOnResized()
Gets the value of theonResized
property.final EventHandler<WebEvent<String>>
WebEngine.getOnStatusChanged()
Gets the value of theonStatusChanged
property.final EventHandler<WebEvent<Boolean>>
WebEngine.getOnVisibilityChanged()
Gets the value of theonVisibilityChanged
property.final ObjectProperty<EventHandler<WebEvent<String>>>
WebEngine.onAlertProperty()
JavaScriptalert
handler property.final ObjectProperty<EventHandler<WebEvent<Rectangle2D>>>
WebEngine.onResizedProperty()
JavaScript window resize handler property.final ObjectProperty<EventHandler<WebEvent<String>>>
WebEngine.onStatusChangedProperty()
JavaScript status handler property.final ObjectProperty<EventHandler<WebEvent<Boolean>>>
WebEngine.onVisibilityChangedProperty()
JavaScript window visibility handler property.Modifier and TypeMethodDescriptionfinal void
WebEngine.setOnAlert
(EventHandler<WebEvent<String>> handler) Sets the value of theonAlert
property.final void
WebEngine.setOnResized
(EventHandler<WebEvent<Rectangle2D>> handler) Sets the value of theonResized
property.final void
WebEngine.setOnStatusChanged
(EventHandler<WebEvent<String>> handler) Sets the value of theonStatusChanged
property.final void
WebEngine.setOnVisibilityChanged
(EventHandler<WebEvent<Boolean>> handler) Sets the value of theonVisibilityChanged
property.