See: Description
Interface | Description |
---|---|
EventHandler<T extends EventDetector> |
An interface defining how to override event handling behavior in the standard
propagator eventing classes without requiring subclassing.
|
Class | Description |
---|---|
ContinueOnEvent<T extends EventDetector> |
Event handler which will always return
continue as a state. |
StopOnDecreasing<T extends EventDetector> |
Handle a detection event and choose what to do next.
|
StopOnEvent<T extends EventDetector> |
Event handler which will always return
stop as a state. |
StopOnIncreasing<T extends EventDetector> |
Handle a detection event and choose what to do next.
|
Enum | Description |
---|---|
EventHandler.Action |
Enumerate for actions to be performed when an event occurs.
|
It is mainly a trimmed-down version of EventDetector
that allows to separate the handling of the event once it has been
detected from the prior detection itself.
A separate interface allows a simpler use of predefined events, as in this case user only wants to specialize what to do once the event occurs and often does not want to change the detection code. It also allows to share a handler amon several detectors.
Copyright © 2002-2015 CS Systèmes d'information. All rights reserved.