Spec-Zone .ru
спецификации, руководства, описания, API
|
Package | Description |
---|---|
javafx.scene.web |
This package provides means for loading and displaying Web content.
|
Modifier and Type | Field and Description |
---|---|
static EventType<WebEvent> |
WebEvent.ALERT
This event occurs when a script calls the JavaScript
alert
function. |
static EventType<WebEvent> |
WebEvent.ANY
Common supertype for all Web event types.
|
private EventHandler<WebEvent<java.lang.String>> |
WebEngineBuilder.onAlert |
private ObjectProperty<EventHandler<WebEvent<java.lang.String>>> |
WebEngine.onAlert |
private EventHandler<WebEvent<Rectangle2D>> |
WebEngineBuilder.onResized |
private ObjectProperty<EventHandler<WebEvent<Rectangle2D>>> |
WebEngine.onResized |
private EventHandler<WebEvent<java.lang.String>> |
WebEngineBuilder.onStatusChanged |
private ObjectProperty<EventHandler<WebEvent<java.lang.String>>> |
WebEngine.onStatusChanged |
private EventHandler<WebEvent<java.lang.Boolean>> |
WebEngineBuilder.onVisibilityChanged |
private ObjectProperty<EventHandler<WebEvent<java.lang.Boolean>>> |
WebEngine.onVisibilityChanged |
static EventType<WebEvent> |
WebEvent.RESIZED
This event occurs when a script changes location of the JavaScript
window 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 JavaScript
window object. |
Modifier and Type | Method and Description |
---|---|
EventHandler<WebEvent<java.lang.String>> |
WebEngine.getOnAlert()
Returns the JavaScript
alert handler. |
EventHandler<WebEvent<Rectangle2D>> |
WebEngine.getOnResized()
Returns the JavaScript window resize handler.
|
EventHandler<WebEvent<java.lang.String>> |
WebEngine.getOnStatusChanged()
Returns the JavaScript status handler.
|
EventHandler<WebEvent<java.lang.Boolean>> |
WebEngine.getOnVisibilityChanged()
Returns the JavaScript window visibility handler.
|
ObjectProperty<EventHandler<WebEvent<java.lang.String>>> |
WebEngine.onAlertProperty()
JavaScript
alert handler property. |
ObjectProperty<EventHandler<WebEvent<Rectangle2D>>> |
WebEngine.onResizedProperty()
JavaScript window resize handler property.
|
ObjectProperty<EventHandler<WebEvent<java.lang.String>>> |
WebEngine.onStatusChangedProperty()
JavaScript status handler property.
|
ObjectProperty<EventHandler<WebEvent<java.lang.Boolean>>> |
WebEngine.onVisibilityChangedProperty()
JavaScript window visibility handler property.
|
Modifier and Type | Method and Description |
---|---|
WebViewBuilder |
WebViewBuilder.onAlert(EventHandler<WebEvent<java.lang.String>> value)
|
WebEngineBuilder |
WebEngineBuilder.onAlert(EventHandler<WebEvent<java.lang.String>> value)
Sets the
onAlert
property for the instance constructed by this builder. |
WebViewBuilder |
WebViewBuilder.onResized(EventHandler<WebEvent<Rectangle2D>> value)
|
WebEngineBuilder |
WebEngineBuilder.onResized(EventHandler<WebEvent<Rectangle2D>> value)
Sets the
onResized
property for the instance constructed by this builder. |
WebViewBuilder |
WebViewBuilder.onStatusChanged(EventHandler<WebEvent<java.lang.String>> value)
Sets the
onStatusChanged
property for the engine
property of the instance constructed by this builder. |
WebEngineBuilder |
WebEngineBuilder.onStatusChanged(EventHandler<WebEvent<java.lang.String>> value)
Sets the
onStatusChanged
property for the instance constructed by this builder. |
WebViewBuilder |
WebViewBuilder.onVisibilityChanged(EventHandler<WebEvent<java.lang.Boolean>> value)
Sets the
onVisibilityChanged
property for the engine
property of the instance constructed by this builder. |
WebEngineBuilder |
WebEngineBuilder.onVisibilityChanged(EventHandler<WebEvent<java.lang.Boolean>> value)
Sets the
onVisibilityChanged
property for the instance constructed by this builder. |
void |
WebEngine.setOnAlert(EventHandler<WebEvent<java.lang.String>> handler)
Sets the JavaScript
alert handler. |
void |
WebEngine.setOnResized(EventHandler<WebEvent<Rectangle2D>> handler)
Sets the JavaScript window resize handler.
|
void |
WebEngine.setOnStatusChanged(EventHandler<WebEvent<java.lang.String>> handler)
Sets the JavaScript status handler.
|
void |
WebEngine.setOnVisibilityChanged(EventHandler<WebEvent<java.lang.Boolean>> handler)
Sets the JavaScript window visibility handler.
|
Constructor and Description |
---|
WebEvent(java.lang.Object source,
EventType<WebEvent> type,
T data)
Creates a new event object.
|
Copyright (c) 2008, 2012, Oracle and/or its affiliates. All rights reserved. Use is subject to