Package com.sun.javafx.event
Interface EventDispatchTree
- All Superinterfaces:
EventDispatchChain
- All Known Implementing Classes:
EventDispatchTreeImpl
-
Method Summary
Modifier and TypeMethodDescriptionappend(EventDispatcher eventDispatcher) Appends the specifiedEventDispatcherto this chain.mergeTree(EventDispatchTree tree) prepend(EventDispatcher eventDispatcher) Prepends the specifiedEventDispatcherto this chain.Methods inherited from interface javafx.event.EventDispatchChain
dispatchEvent
-
Method Details
-
createTree
EventDispatchTree createTree() -
mergeTree
-
append
Description copied from interface:EventDispatchChainAppends the specifiedEventDispatcherto this chain. Returns a reference to the chain with the appended element.The caller shouldn't assume that this
EventDispatchChainremains unchanged nor that the returned value will reference a different chain after the call. All this depends on theEventDispatchChainimplementation.So the call should be always done in the following form:
chain = chain.append(eventDispatcher);- Specified by:
appendin interfaceEventDispatchChain- Parameters:
eventDispatcher- theEventDispatcherto append to the chain- Returns:
- the chain with the appended event dispatcher
-
prepend
Description copied from interface:EventDispatchChainPrepends the specifiedEventDispatcherto this chain. Returns a reference to the chain with the prepended element.The caller shouldn't assume that this
EventDispatchChainremains unchanged nor that the returned value will reference a different chain after the call. All this depends on theEventDispatchChainimplementation.So the call should be always done in the following form:
chain = chain.prepend(eventDispatcher);- Specified by:
prependin interfaceEventDispatchChain- Parameters:
eventDispatcher- theEventDispatcherto prepend to the chain- Returns:
- the chain with the prepended event dispatcher
-