Package org.refcodes.observer
Class ActionEventImpl
- java.lang.Object
-
- org.refcodes.observer.AbstractEvent<SRC>
-
- org.refcodes.observer.AbstractActionEvent<java.lang.Enum<?>,java.lang.Object>
-
- org.refcodes.observer.ActionEventImpl
-
- All Implemented Interfaces:
org.refcodes.mixin.ActionAccessor<java.lang.Enum<?>>
,org.refcodes.mixin.SourceAccessor<java.lang.Enum<?>>
,ActionEvent
,Event
,GenericActionEvent<java.lang.Enum<?>,java.lang.Object>
,GenericEvent<java.lang.Enum<?>>
public class ActionEventImpl extends AbstractActionEvent<java.lang.Enum<?>,java.lang.Object> implements ActionEvent
Basic implementation of theEvent
interface.
-
-
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>
-
-
Field Summary
-
Fields inherited from class org.refcodes.observer.AbstractActionEvent
_action
-
-
Constructor Summary
Constructors Constructor Description ActionEventImpl(java.lang.Enum<?> aAction, java.lang.Object aSource)
Constructs an event with the given source.
-
Method Summary
-
Methods inherited from class org.refcodes.observer.AbstractActionEvent
getAction
-
Methods inherited from class org.refcodes.observer.AbstractEvent
getSource
-
-
-
-
Constructor Detail
-
ActionEventImpl
public ActionEventImpl(java.lang.Enum<?> aAction, java.lang.Object aSource)
Constructs an event with the given source.- Parameters:
aAction
- The action which theGenericActionEvent
represents.aSource
- The source from which this event originated.
-
-