camera3d.event
Class ObjectAddedEvent
java.lang.Object
java.util.EventObject
camera3d.event.VcEvent
camera3d.event.SceneObjectsChangedEvent
camera3d.event.ObjectAddedEvent
- All Implemented Interfaces:
- java.io.Serializable
- public class ObjectAddedEvent
- extends SceneObjectsChangedEvent
This is a class which signals that an object has been added to the scene graph.
- Author:
- Fábio Roberto de Miranda e Carlos da Silva dos Santos
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
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 |
ObjectAddedEvent
public ObjectAddedEvent(java.lang.Object source)
- Constructs a new ObjectAddedEvent
- Parameters:
source
- the object which generated the change in the scene
ObjectAddedEvent
public ObjectAddedEvent(java.lang.Object source,
VcObject vcObject)
- Constructs a new ObjectAddedEvent
- Parameters:
source
- the object which generated the change in the scenevcObject
- VcObject that has been added to the scene
getObject
public VcObject getObject()
- Returns the object added to the scene.
- Returns:
- the new object
setObject
public void setObject(VcObject vcObject)
- Sets the object added to the scene.
- Returns:
- the new object
Copyright © 2001-2003 F.R. Miranda, C.S. Santos, J.E. Kogler Jr.. All Rights Reserved.