The Essential JViews Framework > Managers > Managing Layers > 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:

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

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.