java.lang.Object
org.refcodes.observer.AbstractEvent<SRC>
org.refcodes.observer.AbstractActionEvent<A,SRC>
- Type Parameters:
A
- The generic type of the event's action in question.SRC
- The generic type of the event's source in question.
- All Implemented Interfaces:
org.refcodes.mixin.ActionAccessor<A>
,org.refcodes.mixin.SourceAccessor<SRC>
,ActionEvent<A,
,SRC> Event<SRC>
- Direct Known Subclasses:
AbstractMetaDataActionEvent
public abstract class AbstractActionEvent<A,SRC>
extends AbstractEvent<SRC>
implements ActionEvent<A,SRC>
The
AbstractActionEvent
provides a base implementation for an
ActionEvent
.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.mixin.ActionAccessor
org.refcodes.mixin.ActionAccessor.ActionBuilder<A,
B extends org.refcodes.mixin.ActionAccessor.ActionBuilder<A, B>>, org.refcodes.mixin.ActionAccessor.ActionMutator<A>, org.refcodes.mixin.ActionAccessor.ActionProperty<A> Nested classes/interfaces inherited from interface org.refcodes.mixin.SourceAccessor
org.refcodes.mixin.SourceAccessor.SourceBuilder<SRC,
B extends org.refcodes.mixin.SourceAccessor.SourceBuilder<SRC, B>>, org.refcodes.mixin.SourceAccessor.SourceMutator<SRC>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC> -
Field Summary
-
Constructor Summary
ConstructorDescriptionAbstractActionEvent
(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
getSource
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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 theActionEvent
represents.aSource
- The source from which this event originated.
-
-
Method Details
-
getAction
-