camera3d.event
Class VcChildAddedEvent

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

public class VcChildAddedEvent
extends VcObjectEvent

Event that signals that a new Child has been added to a certain VcObject.

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

Field Summary
 
Fields inherited from class camera3d.event.VcObjectEvent
ALLNODES_REMOVED, CHILD_ADDED, CHILD_REMOVED, DISTANCE_MEASURER_CHANGED, LABEL_CHANGED, LASER_ARRAY_CHANGED, NODE_ADDED, NODE_REMOVED, OBJECT_DETACHED, ROTATION_CHANGED, SCALE_CHANGED, TRANSFORM_CHANGED, TRANSLATION_CHANGED, UNKNOWN_TYPE, VCVIEW_CHANGED
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
VcChildAddedEvent(java.lang.Object source)
          Constructor
VcChildAddedEvent(java.lang.Object source, VcObject child)
          Constructor
 
Method Summary
 VcObject getChild()
          Returns the Child which has been added to source object.
 void setChild(VcObject child)
          Sets the child property for this event
 
Methods inherited from class camera3d.event.VcObjectEvent
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

VcChildAddedEvent

public VcChildAddedEvent(java.lang.Object source)
Constructor

Parameters:
source - the VcObject to whom a new Child has been added.

VcChildAddedEvent

public VcChildAddedEvent(java.lang.Object source,
                         VcObject child)
Constructor

Parameters:
source - the VcObject to whom a new Child has been added.
child - the newly added Child.
Method Detail

setChild

public void setChild(VcObject child)
Sets the child property for this event

Parameters:
child - the Child which has been added to source object.

getChild

public VcObject getChild()
Returns the Child which has been added to source object.

Returns:
the new Child.


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