camera3d.event
Class ObjectRemovedEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycamera3d.event.VcEvent
          extended bycamera3d.event.SceneObjectsChangedEvent
              extended bycamera3d.event.ObjectRemovedEvent
All Implemented Interfaces:
java.io.Serializable

public class ObjectRemovedEvent
extends SceneObjectsChangedEvent

This is a class which signals that an object has been removed from the scene graph.

Author:
Fábio Roberto de Miranda e Carlos da Silva dos Santos
See Also:
Serialized Form

Field Summary
 
Fields inherited from class camera3d.event.SceneObjectsChangedEvent
OBJECT_ADDED, OBJECT_REMOVED, UNKNOWN_TYPE
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ObjectRemovedEvent(java.lang.Object source)
          Constructs a new ObjectRemovedEvent
ObjectRemovedEvent(java.lang.Object source, VcObject vcObject)
          Constructs a new ObjectRemovedEvent
 
Method Summary
 VcObject getObject()
          Returns the object which has been removed from the scene graph.
 void setObject(VcObject vcObject)
          Sets the object which has been removed from the scene graph.
 
Methods inherited from class camera3d.event.SceneObjectsChangedEvent
getType, setType
 
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

ObjectRemovedEvent

public ObjectRemovedEvent(java.lang.Object source)
Constructs a new ObjectRemovedEvent

Parameters:
source - the object which generated the change in the scene

ObjectRemovedEvent

public ObjectRemovedEvent(java.lang.Object source,
                          VcObject vcObject)
Constructs a new ObjectRemovedEvent

Parameters:
source - the object which generated the change in the scene
vcObject - the object newly removed
Method Detail

getObject

public VcObject getObject()
Returns the object which has been removed from the scene graph.

Returns:
the object which has been removed from the scene.

setObject

public void setObject(VcObject vcObject)
Sets the object which has been removed from the scene graph.

Parameters:
vcObject - the object which has been removed from the scene.


Copyright © 2001-2003 F.R. Miranda, C.S. Santos, J.E. Kogler Jr.. All Rights Reserved.