Top Description Fields Constructors Methods
com.sun.javafx.event

public Class DirectEvent

extends Event
Class Inheritance
Imports
javafx.event.Event, .EventTarget, .EventType

Used as a wrapper to protect an Event from being redirected by EventRedirector. The redirector only unwraps such event and sends it to the rest of the event chain.

Field Summary

Modifier and TypeField and Description
public static final EventType<DirectEvent>
private final Event
private static final long
Inherited from javafx.event.Event:
ANYconsumedeventTypeNULL_SOURCE_TARGETtarget

Constructor Summary

AccessConstructor and Description
public
DirectEvent(final Event originalEvent)

public
DirectEvent(final Event originalEvent, final Object source, final EventTarget target)

Method Summary

Modifier and TypeMethod and Description
public Event
Inherited from javafx.event.Event:
cloneconsumecopyForfireEventgetEventTypegetTargetisConsumed

Field Detail

DIRECTback to summary
public static final EventType<DirectEvent> DIRECT
originalEventback to summary
private final Event originalEvent
serialVersionUIDback to summary
private static final long serialVersionUID

Hides javafx.event.Event.serialVersionUID.

Constructor Detail

DirectEventback to summary
public DirectEvent(final Event originalEvent)
DirectEventback to summary
public DirectEvent(final Event originalEvent, final Object source, final EventTarget target)

Method Detail

getOriginalEventback to summary
public Event getOriginalEvent()