edu.columbia.cs.coms4701.agent.events
Class EnvironmentObjectAddedEvent
java.lang.Object
java.util.EventObject
edu.columbia.cs.coms4701.agent.events.EnvironmentObjectAddedEvent
- All Implemented Interfaces:
- java.io.Serializable
public class EnvironmentObjectAddedEvent
- extends java.util.EventObject
Event indicating that an environment object (not necessarily an agent) has been
added to an environment.
- Version:
- 0.1
User: aaron Date: Aug 24, 2006 Time: 4:19:40 PM
- Author:
- aaron@cs
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Methods inherited from class java.util.EventObject |
getSource |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
EnvironmentObjectAddedEvent
public EnvironmentObjectAddedEvent(java.lang.Object source,
EnvironmentObject theObject)
- Constructs a new EnvironmentObjectAddedEvent with the given:
- Parameters:
source
- the Environment to which the object was addedtheObject
- the EnvironmentObject which was added
getEnvironmentObject
public EnvironmentObject getEnvironmentObject()
- Returns the EnvironmentObject that was added to the Environment.
- Returns:
- the object that was added
toString
public java.lang.String toString()
- Overrides:
toString
in class java.util.EventObject