Class ProjectionEvent<T>

java.lang.Object
repast.simphony.space.projection.ProjectionEvent<T>

public class ProjectionEvent<T> extends Object
A semantic event indicating some sort of event occured in a projection. The type of the event is captured via the type property.
Version:
$Revision$ $Date$
Author:
Nick Collier
  • Field Details

  • Constructor Details

    • ProjectionEvent

      public ProjectionEvent(Projection<T> projection, Object subject, ProjectionEvent.Type type)
      Creates a ProjectionEvent for the specified projection, specified object and of the specified type.
      Parameters:
      projection -
      subject -
      type -
  • Method Details

    • getProjection

      public Projection<T> getProjection()
      Gets the projection associated with this event.
      Returns:
      the projection associated with this event.
    • getType

      public ProjectionEvent.Type getType()
      Gets the type of this event.
      Returns:
      the type of this event.
    • getSubject

      public Object getSubject()
      Gets the subject of this event. This is the object that was added, removed, and so forth.
      Returns:
      the subject of this event.