Class MapControl.MapContextListener

java.lang.Object
org.gvsig.fmap.mapcontrol.MapControl.MapContextListener
All Implemented Interfaces:
org.gvsig.fmap.mapcontext.events.listeners.AtomicEventListener
Enclosing class:
MapControl

public class MapControl.MapContextListener extends Object implements org.gvsig.fmap.mapcontext.events.listeners.AtomicEventListener
invalid input: '<'pMapContextListener listens all events produced in a MapControl's MapContext object during an atomic period of time, and sets it to dirty, executing drawMap(false), if any of the following conditions is accomplished:
  • Any of the LayerEvent in the AtomicEvent parameter notifies a visibility change.
  • There is at least one ColorEvent in the AtomicEvent parameter.
  • There is at least one ExtentEvent in the AtomicEvent parameter.
  • Any of the LayerCollectionEvent in the AtomicEvent parameter notifies that a driver's layer has reloaded it successfully.
  • There is at least one LegendEvent in the AtomicEvent parameter.
  • There is at least one SelectionEvent in the AtomicEvent parameter.

Author:
Fernando Gonz�lez Cort�s
  • Constructor Details

    • MapContextListener

      public MapContextListener()
  • Method Details

    • atomicEvent

      public void atomicEvent(org.gvsig.fmap.mapcontext.events.AtomicEvent e)
      Specified by:
      atomicEvent in interface org.gvsig.fmap.mapcontext.events.listeners.AtomicEventListener
      See Also:
      • AtomicEventListener.atomicEvent(org.gvsig.fmap.mapcontext.events.AtomicEvent)