java.lang.Object
org.refcodes.observer.AbstractEvent<SRC>
org.refcodes.observer.AbstractActionEvent<A,SRC>
- Type Parameters:
A- the generic typeSRC- the generic type
- All Implemented Interfaces:
org.refcodes.mixin.ActionAccessor<A>,org.refcodes.mixin.SourceAccessor<SRC>,GenericActionEvent<A,,SRC> GenericEvent<SRC>
- Direct Known Subclasses:
AbstractMetaDataActionEvent,AbstractPayloadActionEvent,ActionEventImpl
public abstract class AbstractActionEvent<A,SRC>
extends AbstractEvent<SRC>
implements GenericActionEvent<A,SRC>
The Class AbstractActionEvent.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.ActionAccessor
org.refcodes.mixin.ActionAccessor.ActionBuilder<A extends Object,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A, B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends Object> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAbstractActionEvent(A aAction, SRC aSource) Constructs an event with the given source.AbstractActionEvent(SRC aSource) Constructs an event with the given source. -
Method Summary
Methods inherited from class org.refcodes.observer.AbstractEvent
getSourceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.refcodes.mixin.SourceAccessor
getSource
-
Field Details
-
_action
-
-
Constructor Details
-
AbstractActionEvent
Constructs an event with the given source.- Parameters:
aSource- The source from which this event originated.
-
AbstractActionEvent
Constructs an event with the given source.- Parameters:
aAction- The action which theGenericActionEventrepresents.aSource- The source from which this event originated.
-
-
Method Details
-
getAction
- Specified by:
getActionin interfaceorg.refcodes.mixin.ActionAccessor<A>
-