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