camera3d.event
Class VcLabelChangedEvent

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

public class VcLabelChangedEvent
extends VcObjectEvent

Event fired when a VcObject has its label changed.

Version:
1.0
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
VcLabelChangedEvent(java.lang.Object source)
          Constructor.
VcLabelChangedEvent(java.lang.Object source, java.lang.String newLabel, java.lang.String oldLabel)
           
 
Method Summary
 java.lang.String getNewLabel()
          Gets the new label of source object.
 java.lang.String getOldLabel()
          Gets the old label of source object.
 void setNewLabel(java.lang.String label)
          Sets the newLabel property for this object.
 void setOldLabel(java.lang.String label)
          Sets the oldLabel property for this object.
 
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

VcLabelChangedEvent

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

Parameters:
source - the VcObject whose label has been changed.

VcLabelChangedEvent

public VcLabelChangedEvent(java.lang.Object source,
                           java.lang.String newLabel,
                           java.lang.String oldLabel)
Method Detail

setNewLabel

public void setNewLabel(java.lang.String label)
Sets the newLabel property for this object.

Parameters:
label - the new label of source object

getNewLabel

public java.lang.String getNewLabel()
Gets the new label of source object.

Returns:
a String containing the new label.

setOldLabel

public void setOldLabel(java.lang.String label)
Sets the oldLabel property for this object.

Parameters:
label - the new label of source object

getOldLabel

public java.lang.String getOldLabel()
Gets the old label of source object.

Returns:
a String containing the new label.


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