gumbo.visualize.data
Interface AspectModelListener


public interface AspectModelListener

Interface for listeners of aspect model events.

Version:
$Revision: 1.6 $
Author:
Jon Barrilleaux (jonb@jmbaai.com) of JMB and Associates Inc.

Method Summary
 void aspectRelationAdded(java.lang.Object source, AspectModel parent, java.lang.Object child)
          Called after a relation between a parent aspect model and a child client model is created, such as when a child is added to a parent.
 void aspectRelationRemoved(java.lang.Object source, AspectModel parent, java.lang.Object child)
          Called after a relation between a parent aspect model and a child client model is destroyed, such as when a child is removed from a parent.
 

Method Detail

aspectRelationAdded

public void aspectRelationAdded(java.lang.Object source,
                                AspectModel parent,
                                java.lang.Object child)
Called after a relation between a parent aspect model and a child client model is created, such as when a child is added to a parent.

Parameters:
source - The source object sending the event. Never null.
parent - The parent aspect model of the relation. Never null.
child - The client ID of the child client model of the relation. Never null.

aspectRelationRemoved

public void aspectRelationRemoved(java.lang.Object source,
                                  AspectModel parent,
                                  java.lang.Object child)
Called after a relation between a parent aspect model and a child client model is destroyed, such as when a child is removed from a parent. If the parent is being disposed, called while the parent is still viable.

Parameters:
source - The source object sending the event. Never null.
parent - The parent aspect model of the relation. Never null.
child - The client ID of the child client model of the relation. Never null.