Interface com.symantec.itools.vcafe.openapi.VisualObjectListener
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface com.symantec.itools.vcafe.openapi.VisualObjectListener

public interface VisualObjectListener
The listener interface for receiving notification when a change has occurred to a VisualObject. To be notified of changes, a plug-in implements this interface then calls VisualObject.addVisualObjectListener to place itself on the notification list. When the VisualObject changes, the appropriate method of this interface is called. If you are only interested in a subset of the notification methods, you can extend the VisualObjectAdapter class rather than implement all the methods yourself.

Version:
1.0
Author:
Symantec Internet Tools Division
Since:
VCafe 3.0
See Also:
addVisualObjectListener, removeVisualObjectListener, removeVisualObjectListener, VisualObjectAdapter

Method Index

 o childAdded(VisualObject, VisualObject)
This method is called when a child is added to the VisualObject.
 o childDeleted(VisualObject, VisualObject)
This method is called when a child is removed from the VisualObject.
 o descriptionChanged(VisualObject)
This method is called when the description of the VisualObject is changed.
 o objectAdded(VisualObject)
This method is called when the VisualObject is added to the repository.
 o objectDeleted(VisualObject)
This method is called before the VisualObject is removed from the repository.
 o objectRemoved(VisualObject)
This method is called after the VisualObject is removed from the repository
 o objectReplaced(VisualObject, VisualObject)
This method is called when a VisualObject's internal data structures are replaced.
 o propertyAddedDeleted(VisualObject)
This method is called when a property is added or removed from the VisualObject
 o propertyChanged(VisualObject, short)
This method is called when a property of the VisualObject is changed.

Methods

 o childAdded
public abstract void childAdded(VisualObject visualObject,
                                VisualObject childVisualObject)
This method is called when a child is added to the VisualObject.

Parameters:
visualObject - the VisualObject which had the change.
childVisualObject - the child VisualObject that was added.
 o childDeleted
public abstract void childDeleted(VisualObject visualObject,
                                  VisualObject childVisualObject)
This method is called when a child is removed from the VisualObject.

Parameters:
visualObject - the VisualObject which had the change.
childVisualObject - the child VisualObject that was removed.
 o descriptionChanged
public abstract void descriptionChanged(VisualObject visualObject)
This method is called when the description of the VisualObject is changed.

Parameters:
visualObject - the VisualObject whose description has been changed.
 o objectAdded
public abstract void objectAdded(VisualObject visualObject)
This method is called when the VisualObject is added to the repository.

Parameters:
visualObject - the VisualObject that was added.
 o objectDeleted
public abstract void objectDeleted(VisualObject visualObject)
This method is called before the VisualObject is removed from the repository. (The object is still valid.)

Parameters:
visualObject - the VisualObject that has been deleted.
 o objectRemoved
public abstract void objectRemoved(VisualObject visualObject)
This method is called after the VisualObject is removed from the repository

Parameters:
visualObject - the VisualObject that was removed.
 o objectReplaced
public abstract void objectReplaced(VisualObject visualObject,
                                    VisualObject replacedVisualObject)
This method is called when a VisualObject's internal data structures are replaced.

Parameters:
visualObject - the parent VisualObject which had the change.
replacedVisualObject - the child VisualObject that was replaced.
 o propertyAddedDeleted
public abstract void propertyAddedDeleted(VisualObject visualObject)
This method is called when a property is added or removed from the VisualObject

Parameters:
visualObject - the VisualObject which had the change.
 o propertyChanged
public abstract void propertyChanged(VisualObject visualObject,
                                     short index)
This method is called when a property of the VisualObject is changed.

Parameters:
visualObject - the VisualObject which had the change.
index - the zero-based index of the property that has changed.

All Packages  Class Hierarchy  This Package  Previous  Next  Index