public interface IComponentAwareEventSink
IEventSink that adds component as an additional parameter to the
onEvent(Component, IEvent) method. This interface is useful for component plugins which
wish to participate in event processing, for example Behaviors| Modifier and Type | Method and Description |
|---|---|
void |
onEvent(Component component,
IEvent<?> event)
Called when an event is sent to this behavior sink
|
void onEvent(Component component, IEvent<?> event)
component - component that owns this sink. For example, if the implementation of this
interface is a Behavior then component parameter will contain the
component to which the behavior is attached.event - Copyright © 2006–2018 Apache Software Foundation. All rights reserved.