org.geotools.swing.event
Class MapPaneEvent

Object
  extended by EventObject
      extended by MapPaneEvent
All Implemented Interfaces:
Serializable

public class MapPaneEvent
extends EventObject

An event class used by JMapPane to signal changes of state to listeners.

Since:
2.6
Author:
Michael Bedward
See Also:
MapPaneListener, Serialized Form
Module:
modules/unsupported/swing (gt-swing.jar)

Nested Class Summary
static class MapPaneEvent.Type
          Type of MapPane event
 
Field Summary
 
Fields inherited from class EventObject
source
 
Constructor Summary
MapPaneEvent(JMapPane source, MapPaneEvent.Type type)
          Constructor
 
Method Summary
 MapPaneEvent.Type getType()
          Get the type of this event
 
Methods inherited from class EventObject
getSource, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapPaneEvent

public MapPaneEvent(JMapPane source,
                    MapPaneEvent.Type type)
Constructor

Parameters:
source - the map pane issuing this event
type - the type of event
Method Detail

getType

public MapPaneEvent.Type getType()
Get the type of this event

Returns:
event type


Copyright © 1996-2009 Geotools. All Rights Reserved.