schmitzm.geotools.map.event
Class MapAreaChangedEvent

java.lang.Object
  extended by schmitzm.geotools.map.event.JMapPaneEvent
      extended by schmitzm.geotools.map.event.MapAreaChangedEvent

public class MapAreaChangedEvent
extends JMapPaneEvent

Diese Klasse stellt ein Ereignis dar, das ein JMapPane ausloest, wenn sich die Ausdehnung der dargestellte Karten-Ausschnitt aendert.

Version:
1.0
Author:
Martin Schmitz (University of Bonn/Germany)

Field Summary
 
Fields inherited from class schmitzm.geotools.map.event.JMapPaneEvent
source, sourceObject
 
Constructor Summary
MapAreaChangedEvent(JMapPane source, Envelope oldEnvelope, Envelope newEnvelope)
          Erzeugt ein neues Ereignis.
 
Method Summary
 Envelope getNewMapArea()
          Liefert die neue Karten-Ausdehnung.
 Envelope getOldMapArea()
          Liefert die alte Karten-Ausdehnung.
 
Methods inherited from class schmitzm.geotools.map.event.JMapPaneEvent
getSource, getSourceObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MapAreaChangedEvent

public MapAreaChangedEvent(JMapPane source,
                           Envelope oldEnvelope,
                           Envelope newEnvelope)
Erzeugt ein neues Ereignis.

Parameters:
oldEnvelope - vormalige Ausdehnung
newEnvelope - neue Ausdehnung
Method Detail

getOldMapArea

public Envelope getOldMapArea()
Liefert die alte Karten-Ausdehnung.


getNewMapArea

public Envelope getNewMapArea()
Liefert die neue Karten-Ausdehnung.