Uses of Class
javafx.scene.web.WebEvent
-
Packages that use WebEvent 软件包 描述 javafx.scene.web 该软件包提供了加载和显示Web内容的方法。 -
-
Uses of WebEvent in javafx.scene.web
Fields in javafx.scene.web with type parameters of type WebEvent Modifier and Type Field 描述 static EventType<WebEvent>
WebEvent. ALERT
当脚本调用JavaScriptalert
函数时,会发生此事件。static EventType<WebEvent>
WebEvent. ANY
所有Web事件类型的常用超类型。static EventType<WebEvent>
WebEvent. RESIZED
当脚本更改JavaScriptwindow
对象的位置时,会发生此事件。static EventType<WebEvent>
WebEvent. STATUS_CHANGED
当脚本更改状态行文本时,会发生此事件。static EventType<WebEvent>
WebEvent. VISIBILITY_CHANGED
当脚本更改JavaScriptwindow
对象的可见性时,会发生此事件。Methods in javafx.scene.web that return types with arguments of type WebEvent Modifier and Type 方法 描述 EventHandler<WebEvent<String>>
WebEngine. getOnAlert()
获取属性onAlert的值。EventHandler<WebEvent<Rectangle2D>>
WebEngine. getOnResized()
获取属性onResized的值。EventHandler<WebEvent<String>>
WebEngine. getOnStatusChanged()
获取属性onStatusChanged的值。EventHandler<WebEvent<Boolean>>
WebEngine. getOnVisibilityChanged()
获取属性onVisibilityChanged的值。ObjectProperty<EventHandler<WebEvent<String>>>
WebEngine. onAlertProperty()
JavaScriptalert
处理程序属性。ObjectProperty<EventHandler<WebEvent<Rectangle2D>>>
WebEngine. onResizedProperty()
JavaScript窗口调整大小处理程序属性。ObjectProperty<EventHandler<WebEvent<String>>>
WebEngine. onStatusChangedProperty()
JavaScript状态处理程序属性。ObjectProperty<EventHandler<WebEvent<Boolean>>>
WebEngine. onVisibilityChangedProperty()
JavaScript窗口可见性处理器属性。Method parameters in javafx.scene.web with type arguments of type WebEvent Modifier and Type 方法 描述 void
WebEngine. setOnAlert(EventHandler<WebEvent<String>> handler)
设置属性onAlert的值。void
WebEngine. setOnResized(EventHandler<WebEvent<Rectangle2D>> handler)
设置属性onResized的值。void
WebEngine. setOnStatusChanged(EventHandler<WebEvent<String>> handler)
设置属性onStatusChanged的值。void
WebEngine. setOnVisibilityChanged(EventHandler<WebEvent<Boolean>> handler)
设置属性onVisibilityChanged的值。Constructor parameters in javafx.scene.web with type arguments of type WebEvent Constructor 描述 WebEvent(Object source, EventType<WebEvent> type, T data)
Creates a new event object.
-