Uses of Class
javafx.scene.web.WebEvent
-
Packages that use WebEvent Package Description javafx.scene.web This package provides means for loading and displaying Web content. -
-
Uses of WebEvent in javafx.scene.web
Fields in javafx.scene.web with type parameters of type WebEvent Modifier and Type Field Description static EventType<WebEvent>
WebEvent. ALERT
This event occurs when a script calls the JavaScriptalert
function.static EventType<WebEvent>
WebEvent. ANY
Common supertype for all Web event types.static EventType<WebEvent>
WebEvent. RESIZED
This event occurs when a script changes location of the JavaScriptwindow
object.static EventType<WebEvent>
WebEvent. STATUS_CHANGED
This event occurs when a script changes status line text.static EventType<WebEvent>
WebEvent. VISIBILITY_CHANGED
This event occurs when a script changes visibility of the JavaScriptwindow
object.Methods in javafx.scene.web that return types with arguments of type WebEvent Modifier and Type Method Description EventHandler<WebEvent<String>>
WebEngine. getOnAlert()
Gets the value of the property onAlert.EventHandler<WebEvent<Rectangle2D>>
WebEngine. getOnResized()
Gets the value of the property onResized.EventHandler<WebEvent<String>>
WebEngine. getOnStatusChanged()
Gets the value of the property onStatusChanged.EventHandler<WebEvent<Boolean>>
WebEngine. getOnVisibilityChanged()
Gets the value of the property onVisibilityChanged.ObjectProperty<EventHandler<WebEvent<String>>>
WebEngine. onAlertProperty()
JavaScriptalert
handler property.ObjectProperty<EventHandler<WebEvent<Rectangle2D>>>
WebEngine. onResizedProperty()
JavaScript window resize handler property.ObjectProperty<EventHandler<WebEvent<String>>>
WebEngine. onStatusChangedProperty()
JavaScript status handler property.ObjectProperty<EventHandler<WebEvent<Boolean>>>
WebEngine. onVisibilityChangedProperty()
JavaScript window visibility handler property.Method parameters in javafx.scene.web with type arguments of type WebEvent Modifier and Type Method Description void
WebEngine. setOnAlert(EventHandler<WebEvent<String>> handler)
Sets the value of the property onAlert.void
WebEngine. setOnResized(EventHandler<WebEvent<Rectangle2D>> handler)
Sets the value of the property onResized.void
WebEngine. setOnStatusChanged(EventHandler<WebEvent<String>> handler)
Sets the value of the property onStatusChanged.void
WebEngine. setOnVisibilityChanged(EventHandler<WebEvent<Boolean>> handler)
Sets the value of the property onVisibilityChanged.Constructor parameters in javafx.scene.web with type arguments of type WebEvent Constructor Description WebEvent(Object source, EventType<WebEvent> type, T data)
Creates a new event object.
-