camera3d.event
Class VcNodeRemovedEvent

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

public final class VcNodeRemovedEvent
extends VcNodeEvent

Event that signals that a Node has been removed from 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
VcNodeRemovedEvent(java.lang.Object source)
          Constructor.
VcNodeRemovedEvent(java.lang.Object source, javax.media.j3d.Node node)
          Constructor
 
Method Summary
 javax.media.j3d.Node getNode()
          Returns the Node which has been removed from source object.
 void setNode(javax.media.j3d.Node node)
          Sets the node 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

VcNodeRemovedEvent

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

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

VcNodeRemovedEvent

public VcNodeRemovedEvent(java.lang.Object source,
                          javax.media.j3d.Node node)
Constructor

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

setNode

public void setNode(javax.media.j3d.Node node)
Sets the node property for this event

Parameters:
node - the Node which has been removed from source object.

getNode

public javax.media.j3d.Node getNode()
Returns the Node which has been removed from source object.

Returns:
the old Node.


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