A
- The type of the action stored in the event.P
- The type of the payload to be carried.SRC
- The type of the source in question.org.refcodes.mixin.ActionAccessor<A>
, org.refcodes.mixin.PayloadAccessor<A>
, org.refcodes.mixin.SourceAccessor<A>
, GenericActionEvent<A,P>
, GenericActionPayloadEvent<A,P,SRC>
, GenericEvent<A>
, GenericPayloadEvent<A,P>
PayloadActionEventImpl
public abstract class AbstractPayloadActionEvent<A,P,SRC> extends AbstractActionEvent<A,SRC> implements GenericActionPayloadEvent<A,P,SRC>
GenericActionPayloadEvent
.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>
org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P extends Object,B extends org.refcodes.mixin.PayloadAccessor.PayloadBuilder<P,B>>, org.refcodes.mixin.PayloadAccessor.PayloadMutator<P extends Object>, org.refcodes.mixin.PayloadAccessor.PayloadProperty<P extends Object>
Modifier and Type | Field | Description |
---|---|---|
protected P |
_payload |
_action
Constructor | Description |
---|---|
AbstractPayloadActionEvent(A aAction,
P aPayload,
SRC aSource) |
Constructs an event with the given Meta-Data.
|
Modifier and Type | Method | Description |
---|---|---|
P |
getPayload() |
getAction
getSource
protected P _payload
public AbstractPayloadActionEvent(A aAction, P aPayload, SRC aSource)
aAction
- The action which the GenericActionEvent
represents.aPayload
- The payload to be carried by the event.aSource
- The source from which this event originated.Copyright © 2021. All rights reserved.