com.cuspy.pathfinder
Class PathEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--com.cuspy.pathfinder.PathEvent
All Implemented Interfaces:
java.io.Serializable

public class PathEvent
extends java.util.EventObject

An encapsulation of the data describing an event related to a PathFinder.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
PathEvent(java.lang.Object source, java.util.List path)
          Create a new PathEvent.
 
Method Summary
 java.util.List getPath()
          Returns the path related to this event.
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PathEvent

public PathEvent(java.lang.Object source,
                 java.util.List path)
Create a new PathEvent.

Parameters:
source - the source of this event.
Method Detail

getPath

public java.util.List getPath()
Returns the path related to this event.

Returns:
the path related to the event in the form of a list or null if no path was found.