public class CreateVisibleObjectEvent extends VisualEvent
Constructor and Description |
---|
CreateVisibleObjectEvent(java.lang.Object source,
java.lang.String objectName,
java.lang.String type,
boolean movable,
TimeInstant occurredTime)
Constructs a CreateVisibleObjectEvent.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getVisualModel()
Gets the type of the SpatialObject to be created.
|
boolean |
isMovable()
Returns true if the SpatialObject to be created is
a MovableSpatialObject.
|
getOccurredTime, getTargetName
public CreateVisibleObjectEvent(java.lang.Object source, java.lang.String objectName, java.lang.String type, boolean movable, TimeInstant occurredTime)
source
- The object on which the event initially occurred.objectName
- The object which is created.type
- The type of the SpatialObject to be created.movable
- Indicates whether the SpatialObject is a
MovableSpatialObject or not.occurredTime
- The TimeInstant when the event occurred.public java.lang.String getVisualModel()
public boolean isMovable()