ilog.views.event.adapter
Class IlvManagerLayerAdapter

java.lang.Object
  extended by ilog.views.event.adapter.IlvManagerLayerAdapter
All Implemented Interfaces:
ManagerLayerListener, EventListener

public abstract class IlvManagerLayerAdapter
extends Object
implements ManagerLayerListener

An abstract adapter class for receiving manager layer events. The methods in this class are empty. This class exists as convenience for creating listener objects.

Extend this class to create a manager layer event listener and override the methods for the events of interest. (If you implement the ManagerLayerListener interface, you have to define all of the methods in it. This abstract class defines null methods for them all, so you can only have to define methods for events you care about.)

Since:
JViews 7.5
See Also:
ManagerLayerListener, IlvManager.addManagerLayerListener(ilog.views.event.ManagerLayerListener), IlvManager.removeManagerLayerListener(ilog.views.event.ManagerLayerListener)

Constructor Summary
IlvManagerLayerAdapter()
          Creates a new manager layer adapter.
 
Method Summary
 void layerChanged(ManagerLayerEvent event)
          This method is called by the manager, as notification that the layer has changed in some way.
 void layerInserted(ManagerLayerInsertedEvent event)
          This method is called by the manager, as notification that a layer was inserted into the manager.
 void layerMoved(ManagerLayerMovedEvent event)
          This method is called by the manager, as notification that a layer index has changed in the manager.
 void layerRemoved(ManagerLayerRemovedEvent event)
          This method is called by the manager, to notify that a layer was removed from the manager This implementation does nothing.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IlvManagerLayerAdapter

public IlvManagerLayerAdapter()
Creates a new manager layer adapter.

Method Detail

layerInserted

public void layerInserted(ManagerLayerInsertedEvent event)
This method is called by the manager, as notification that a layer was inserted into the manager. This implementation does nothing.

Specified by:
layerInserted in interface ManagerLayerListener
Parameters:
event - The event.

layerRemoved

public void layerRemoved(ManagerLayerRemovedEvent event)
This method is called by the manager, to notify that a layer was removed from the manager This implementation does nothing.

Specified by:
layerRemoved in interface ManagerLayerListener
Parameters:
event - The event.

layerMoved

public void layerMoved(ManagerLayerMovedEvent event)
This method is called by the manager, as notification that a layer index has changed in the manager. This implementation does nothing.

Specified by:
layerMoved in interface ManagerLayerListener
Parameters:
event - The event.

layerChanged

public void layerChanged(ManagerLayerEvent event)
This method is called by the manager, as notification that the layer has changed in some way. This implementation does nothing.

Specified by:
layerChanged in interface ManagerLayerListener
Parameters:
event - The event.
See Also:
ManagerLayerNameEvent, ManagerLayerVisibilityEvent, ManagerLayerSelectableEvent


Copyright © 1996-2007 ILOG S.A. All rights reserved.   Documentation homepage.