Class AbstractActionEvent<A,SRC>

    • 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>
      • Nested classes/interfaces inherited from interface org.refcodes.mixin.SourceAccessor

        org.refcodes.mixin.SourceAccessor.SourceMutator<SRC extends java.lang.Object>, org.refcodes.mixin.SourceAccessor.SourceProperty<SRC extends java.lang.Object>
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected A _action  
    • Constructor Summary

      Constructors 
      Constructor Description
      AbstractActionEvent​(A aAction, SRC aSource)
      Constructs an event with the given source.
      AbstractActionEvent​(SRC aSource)
      Constructs an event with the given source.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      A getAction​()
      • 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 Detail

      • _action

        protected A _action
    • Constructor Detail

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

      • getAction

        public A getAction​()
        Specified by:
        getAction in interface org.refcodes.mixin.ActionAccessor<A>