Package org.refcodes.observer
Class AbstractActionEvent<A,SRC>
- 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<A>
,GenericActionEvent<A,SRC>
,GenericEvent<A>
- Direct Known Subclasses:
AbstractActionMetaDataEvent
,AbstractActionPayloadEvent
,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 java.lang.Object,B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A,B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A extends java.lang.Object>, org.refcodes.mixin.ActionAccessor.ActionProperty<A extends java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description AbstractActionEvent(A aAction, SRC aSource)
Constructs an event with the given source.AbstractActionEvent(SRC aSource)
Constructs an event with the given source.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description A
getAction()
-
Methods inherited from class org.refcodes.observer.AbstractEvent
getSource
-
-
-
-
Field Detail
-
_action
protected A _action
-
-
Constructor Detail
-
AbstractActionEvent
public AbstractActionEvent(SRC aSource)
Constructs an event with the given source.- Parameters:
aSource
- The source from which this event originated.
-
AbstractActionEvent
public AbstractActionEvent(A aAction, SRC aSource)
Constructs an event with the given source.- Parameters:
aAction
- The action which theGenericActionEvent
represents.aSource
- The source from which this event originated.
-
-