com.dat.cx
Interface CxExtendsListener

All Superinterfaces:
java.util.EventListener
All Known Implementing Classes:
CxComponent

public interface CxExtendsListener
extends java.util.EventListener

CxExtendsListener will listen for changes in a superclass component included any changes to that component or any contained components a component.


Method Summary
 boolean canAddComponent(CxExtendsCanAddEvent event)
          Test if a component can be added by the name specified in the received event
 void componentAdded(CxExtendsAddEvent event)
          Recieve a CxExtendsAddEvent whenever a component is added anywhere (not just direct child) within the extends from component
 void componentLocationChanged(CxExtendsLocationChangeEvent event)
          Recieve a CxExtendsLocationChangeEvent whenever an extends from component or any of its decendents has a change in location.
 void componentNameChanged(CxExtendsNameChangeEvent event)
          Recieve a CxExtendsNameChangeEvent whenever an extends from component or any of its decendents has a name change.
 void componentNodeChanged(CxExtendsNodeChangeEvent event)
          Recieve a CxExtendsNodeChangeEvent whenever an extends from component or any of its decendents has a change in a node value.
 void componentPropertyChanged(CxExtendsPropertyChangeEvent event)
          Recieve a CxExtendsPropertyChangeEvent whenever an extends from component or any of its decendents has a property change value.
 void componentRemoved(CxExtendsRemoveEvent event)
          Recieve a CxExtendsRemoveEvent whenever a component is removed from anywhere (not just direct child) within the extends from component
 void componentWirePortChanged(CxExtendsWirePortChangeEvent event)
          Recieve a CxExtendsWirePortChangeEvent whenever a wire of an extends from component or any of its decendents has a port assignment changed.
 

Method Detail

canAddComponent

public boolean canAddComponent(CxExtendsCanAddEvent event)
Test if a component can be added by the name specified in the received event
Parameters:
event - the recieved event

componentAdded

public void componentAdded(CxExtendsAddEvent event)
Recieve a CxExtendsAddEvent whenever a component is added anywhere (not just direct child) within the extends from component
Parameters:
event - the recieved event.

componentRemoved

public void componentRemoved(CxExtendsRemoveEvent event)
Recieve a CxExtendsRemoveEvent whenever a component is removed from anywhere (not just direct child) within the extends from component
Parameters:
event - the recieved event.

componentPropertyChanged

public void componentPropertyChanged(CxExtendsPropertyChangeEvent event)
Recieve a CxExtendsPropertyChangeEvent whenever an extends from component or any of its decendents has a property change value.
Parameters:
event - the recieved event.

componentWirePortChanged

public void componentWirePortChanged(CxExtendsWirePortChangeEvent event)
Recieve a CxExtendsWirePortChangeEvent whenever a wire of an extends from component or any of its decendents has a port assignment changed.
Parameters:
event - the recieved event.

componentNameChanged

public void componentNameChanged(CxExtendsNameChangeEvent event)
Recieve a CxExtendsNameChangeEvent whenever an extends from component or any of its decendents has a name change.
Parameters:
event - the recieved event.

componentLocationChanged

public void componentLocationChanged(CxExtendsLocationChangeEvent event)
Recieve a CxExtendsLocationChangeEvent whenever an extends from component or any of its decendents has a change in location.
Parameters:
event - the recieved event.

componentNodeChanged

public void componentNodeChanged(CxExtendsNodeChangeEvent event)
Recieve a CxExtendsNodeChangeEvent whenever an extends from component or any of its decendents has a change in a node value.
Parameters:
event - the recieved event.