|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.EventObject
org.mars_sim.msp.simulation.person.ai.mission.MissionEvent
public class MissionEvent
A mission change event.
Field Summary |
---|
Fields inherited from class java.util.EventObject |
---|
source |
Constructor Summary | |
---|---|
MissionEvent(Mission source,
java.lang.String type,
java.lang.Object target)
Constructor |
Method Summary | |
---|---|
java.lang.Object |
getTarget()
Gets the event target object. |
java.lang.String |
getType()
Gets the event type. |
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 |
---|
public MissionEvent(Mission source, java.lang.String type, java.lang.Object target)
source
- the object throwing the event.type
- the event type.target
- the event target object (or null if none)Method Detail |
---|
public java.lang.String getType()
public java.lang.Object getTarget()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |