ehsbe CommonsTM
Version 1.1.0rc3

com.ehsbe.commons.action
Interface ManagedEvent

All Known Implementing Classes:
ManagedActionEvent, ManagedItemEvent

public interface ManagedEvent

Interface for managed events.

Version:
$Revision: 432 $
Author:
Jens Elkner

Method Summary
 boolean dispatchable()
          Hint for dispatchers, whether they should further dispatch this event.
 Action getAction()
          Get the action, which triggered this event.
 EventObject getOriginalEvent()
          Get the original event, i.e. the event from which this one has been created.
 void stopDispatching()
          Set a flag for dispatchers, to not continue dispatching this event.
 

Method Detail

getOriginalEvent

EventObject getOriginalEvent()
Get the original event, i.e. the event from which this one has been created.

Returns:
the original event fired by the emitter

stopDispatching

void stopDispatching()
Set a flag for dispatchers, to not continue dispatching this event. Handle with care!!!


dispatchable

boolean dispatchable()
Hint for dispatchers, whether they should further dispatch this event.

Returns:
true, if the event should be dispatched.

getAction

Action getAction()
Get the action, which triggered this event.

Returns:
the action, which triggered this event.

ehsbe CommonsTM
Version 1.1.0rc3

Copyright ©2005-2009 EHSBE, Walther-Rathenau-Str. 58, 39104 Magdeburg, Sachsen-Anhalt, Germany. All Rights Reserved.