org.netbeans.modules.xml.xam
Interface ComponentListener

All Superinterfaces:
java.util.EventListener

public interface ComponentListener
extends java.util.EventListener

A component listener provides a coarse-grained event stream based on values or children of the source. This is not intended to replace property change events and only serves as a way to differentiate between children and non children related events.

Author:
Rico Cruz, Nam Nguyen, Chris Webster

Method Summary
 void childrenAdded(ComponentEvent evt)
          Invoked if a child has been added.
 void childrenDeleted(ComponentEvent evt)
          Invoked if a child has been removed.
 void valueChanged(ComponentEvent evt)
          Invoked if a value other than children is changed.
 

Method Detail

valueChanged

void valueChanged(ComponentEvent evt)
Invoked if a value other than children is changed.

Parameters:
evt - component event

childrenAdded

void childrenAdded(ComponentEvent evt)
Invoked if a child has been added.

Parameters:
evt - component event

childrenDeleted

void childrenDeleted(ComponentEvent evt)
Invoked if a child has been removed.

Parameters:
evt - component event