camera3d.event
Class InitialListEvent

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

public class InitialListEvent
extends SceneObjectsChangedEvent

Event generated by J3DBase anytime a SceneObjectsChangeListener is registered with it. The new listener will not know of the objects already in the scene, thus an InitialListEvent event is fired to inform it of them. The event reaches exclusively the new listener, and none of the listener already registered with the J3DBase object.

Version:
1.0
Author:
Fábio Roberto de Miranda, 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
InitialListEvent(java.lang.Object source)
          Creates a new event.
 
Method Summary
 java.util.List getInitialList()
          Returns list of objects in the scene.
 void setInitialList(java.util.List initialList)
          Sets list of scene objects.
 
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

InitialListEvent

public InitialListEvent(java.lang.Object source)
Creates a new event.

Method Detail

getInitialList

public java.util.List getInitialList()
Returns list of objects in the scene.


setInitialList

public void setInitialList(java.util.List initialList)
Sets list of scene objects.



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