Listener for layer changes in a manager

A class must implement the ManagerLayerListener interface to be notified that layers have been inserted, removed, or moved in a manager. This interface contains four methods:
  • which is called when a layer is added to a manager.
  • which is called when a layer is moved in a manager.
  • which is called when a layer is removed from a manager.
  • which is called for other changes in a layer.
To be notified of layer modifications, a class implementing this interface must register itself using the following method of the class IlvManager :
void addManagerLayerListener(ManagerLayerListener l)   

Convenience class for listener

The class IlvManagerLayerAdapter is a convenience class. It implements the ManagerLayerListener interface with empty methods. This is useful if you want to implement a manager layer listener that needs only to listen to some, but not all, of the events.