A
- the generic typeSRC
- the generic typepublic abstract class AbstractActionEvent<A,SRC> extends AbstractEvent<SRC> implements ActionEvent<A,SRC>
Constructor and Description |
---|
AbstractActionEvent(A aAction,
SRC aSource)
Constructs an event with the given source.
|
AbstractActionEvent(SRC aSource)
Constructs an event with the given source.
|
Modifier and Type | Method and Description |
---|---|
A |
getAction()
Returns the Action associated to the given
ActionEvent . |
getSource
public AbstractActionEvent(SRC aSource)
aSource
- The source from which this event originated.public AbstractActionEvent(A aAction, SRC aSource)
aAction
- The action which the ActionEvent
represents.aSource
- The source from which this event originated.public A getAction()
ActionEvent
.getAction
in interface ActionEvent<A,SRC>
ActionEvent
represents.Copyright © 2018. All rights reserved.