public abstract class VisualEvent
extends java.util.EventObject
Constructor and Description |
---|
VisualEvent(java.lang.Object source,
java.lang.String affectedSpatialObjectName,
TimeInstant occurredTime)
Constructs a VisualEvent.
|
Modifier and Type | Method and Description |
---|---|
TimeInstant |
getOccurredTime()
Gets the SimTime when this event occurred.
|
java.lang.String |
getTargetName()
Gets the ID of the object which is affected by this event.
|
public VisualEvent(java.lang.Object source, java.lang.String affectedSpatialObjectName, TimeInstant occurredTime)
source
- The object on which the event initially occurred.affectedSpatialObjectName
- The name of the SpatialObject which
is affected by this VisualEvent.occuredTime
- The time when this event occurred.public TimeInstant getOccurredTime()
public java.lang.String getTargetName()