Class AbstractActionEvent<A,SRC>

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:
ActionAccessor<A>, 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.
  • Field Details

    • _action

      protected A _action
  • Constructor Details

    • 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 the ActionEvent represents.
      aSource - The source from which this event originated.
  • Method Details