camera3d.event
Class VcChildRemovedEvent

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

public class VcChildRemovedEvent
extends VcObjectEvent

Event that signals that a new Child has been removed from a certain VcObject.

Author:
Fábio Roberto de Miranda e 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
VcChildRemovedEvent(java.lang.Object source)
          Constructor.
VcChildRemovedEvent(java.lang.Object source, VcObject child)
          Constructor
 
Method Summary
 VcObject getChild()
          Returns the Child which has been removed from 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

VcChildRemovedEvent

public VcChildRemovedEvent(java.lang.Object source)
Constructor.

Parameters:
source - the VcObject from which a Child has been removed.

VcChildRemovedEvent

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

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

setChild

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

Parameters:
child - the Child which has been removed from source object.

getChild

public VcObject getChild()
Returns the Child which has been removed from source object.

Returns:
the old Child.


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