public interface ObserverDescriptor<E extends Event<?>,O extends Observer<E>,EM extends EventMatcher<E>> extends Observer<E>
ObserverDescriptor describes the Observer, i.e. in some
cases an Observer requires an EventMatcher which determines
which ActionEvent instances to pass to the Observer. The
ObserverDescriptor is itself an Observer calling the
EventMatcher to determine whether to delegate the ActionEvent to
contained Observer or not.| Modifier and Type | Method and Description |
|---|---|
EM |
getEventMatcher()
Returns the
EventMatcher associated with the given
Observer. |
O |
getObserver()
Returns the
Observer associated with the given
EventMatcher |
O getObserver()
Observer associated with the given
EventMatcherObserver as it is being managed by the
ObserverDescriptor.EM getEventMatcher()
EventMatcher associated with the given
Observer.EventMatcher as it is being managed by the
ObserverDescriptor.Copyright © 2017. All rights reserved.