Uses of Class
javafx.scene.web.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. ALERTThis event occurs when a script calls the JavaScriptalertfunction.static EventType<WebEvent>WebEvent. ANYCommon supertype for all Web event types.static EventType<WebEvent>WebEvent. RESIZEDThis event occurs when a script changes location of the JavaScriptwindowobject.static EventType<WebEvent>WebEvent. STATUS_CHANGEDThis event occurs when a script changes status line text.static EventType<WebEvent>WebEvent. VISIBILITY_CHANGEDThis event occurs when a script changes visibility of the JavaScriptwindowobject.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()JavaScriptalerthandler 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 voidWebEngine. setOnAlert(EventHandler<WebEvent<String>> handler)Sets the value of the property onAlert.voidWebEngine. setOnResized(EventHandler<WebEvent<Rectangle2D>> handler)Sets the value of the property onResized.voidWebEngine. setOnStatusChanged(EventHandler<WebEvent<String>> handler)Sets the value of the property onStatusChanged.voidWebEngine. setOnVisibilityChanged(EventHandler<WebEvent<Boolean>> handler)Sets the value of the property onVisibilityChanged.