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
-
Field Summary
FieldsModifier and TypeFieldDescriptionThis event occurs when a script calls the JavaScriptalertfunction.Common supertype for all Web event types.This event occurs when a script changes location of the JavaScriptwindowobject.This event occurs when a script changes status line text.This event occurs when a script changes visibility of the JavaScriptwindowobject.Fields declared in class Event
consumed, eventType, NULL_SOURCE_TARGET, targetModifier and TypeFieldDescriptionprotected booleanWhether this event has been consumed by any filter or handler.Type of the event.static final EventTargetThe constant which represents an unknown event source / target.protected EventTargetEvent target that defines the path through which the event will travel when posted.Fields declared in class EventObject
source -
Constructor Summary
Constructors -
Method Summary
Methods declared in class Event
clone, consume, copyFor, fireEvent, getEventType, getTarget, isConsumedModifier and TypeMethodDescriptionclone()Creates and returns a copy of thisEvent.voidconsume()Marks thisEventas consumed.copyFor(Object newSource, EventTarget newTarget) Creates and returns a copy of this event with the specified event source and target.static voidfireEvent(EventTarget eventTarget, Event event) Fires the specified event.Gets the event type of this event.Returns the event target of this event.booleanIndicates whether thisEventhas been consumed by any filter or handler.Methods declared in class EventObject
getSource
-
Field Details
-
ANY
-
RESIZED
-
STATUS_CHANGED
-
VISIBILITY_CHANGED
-
ALERT
-
-
Constructor Details
-
WebEvent
-
-
Method Details
-
getData
-
toString
Returns a string representation of thisWebEventobject.- Overrides:
toStringin classEventObject- Returns:
- a string representation of this
WebEventobject.
-