Class WebEvent<T>
java.lang.Object
java.util.EventObject
javafx.event.Event
javafx.scene.web.WebEvent<T>
- Type Parameters:
T
- the type of the web event
- All Implemented Interfaces:
Serializable
,Cloneable
WebEvent
instances are passed into EventHandler
s registered
with a WebEngine
by JavaScript running on a Web page. An event holds
a single data item of type T
.- Since:
- JavaFX 2.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionThis event occurs when a script calls the JavaScriptalert
function.Common supertype for all Web event types.This event occurs when a script changes location of the JavaScriptwindow
object.This event occurs when a script changes status line text.This event occurs when a script changes visibility of the JavaScriptwindow
object.Fields declared in class javafx.event.Event
consumed, eventType, NULL_SOURCE_TARGET, target
Fields declared in class java.util.EventObject
source
-
Constructor Summary
-
Method Summary
Methods declared in class javafx.event.Event
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumed
Methods declared in class java.util.EventObject
getSource
-
Field Details
-
ANY
-
RESIZED
-
STATUS_CHANGED
-
VISIBILITY_CHANGED
-
ALERT
-
-
Constructor Details
-
WebEvent
-
-
Method Details
-
getData
-
toString
Returns a string representation of thisWebEvent
object.- Overrides:
toString
in classEventObject
- Returns:
- a string representation of this
WebEvent
object.
-