public class MapPaneEvent extends EventObject
MapPane to signal changes of state to listeners.MapPaneListener,
Serialized Form| Modifier and Type | Class and Description |
|---|---|
static class |
MapPaneEvent.Type
Type of MapPane event
|
source| Constructor and Description |
|---|
MapPaneEvent(MapPane source,
MapPaneEvent.Type type)
Constructor for an event with no associated data
|
MapPaneEvent(MapPane source,
MapPaneEvent.Type type,
Object data)
Constructor for an event with associated data.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getData()
Get the data associated with this event, if any
|
MapPane |
getSource()
Gets the map pane which published this event.
|
MapPaneEvent.Type |
getType()
Get the type of this event
|
toStringpublic MapPaneEvent(MapPane source, MapPaneEvent.Type type)
source - the map pane issuing this eventtype - the type of eventpublic MapPaneEvent(MapPane source, MapPaneEvent.Type type, Object data)
source - the map pane issuing this eventtype - the type of eventdata - the event datapublic MapPane getSource()
getSource in class EventObjectpublic MapPaneEvent.Type getType()
public Object getData()
null if not applicableCopyright © 1996–2019 Geotools. All rights reserved.