|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecttwaver.gis.event.MapEvent
An event which indicates that some property of a GeographyMap is changed.
A MapEvent object is passed to every MapListener object which registered to receive the "interesting" map events using the GeographyMap's addMapListener method.
Field Summary | |
static int |
MAP_DRAWN
Constant specifies the map is just drawn. |
static int |
MAP_GROUNDING_COLORCHANGED
|
static int |
MAP_GROUNDING_STYLECHANGED
|
static int |
MAP_MODE_CHANGED
|
static int |
MAP_MULTILAYRRS_VISIBLITY_SCALE
|
static int |
MAP_OVERVIEW_DRAWN
|
static int |
MAP_OVERVIEW_STARTRENDERING
|
static int |
MAP_QUERYLAYER_CHANGED
Constant specifies the index of the map's query layer is changed. |
static int |
MAP_SCALE_CHANGED
Constant specifies the scale of a map is changed. |
static int |
MAP_SELECTEDFEATURE_CHANGED
Constant specifies the selected features of a map changed. |
static int |
MAP_STARTRENDERRING
Constant specifies beginning to render the map. |
static int |
MAP_UNIT_CHANGED
|
static int |
MAP_VIEWPORT_CHANGED
Constant specifies the viewport of a map is changed. |
static int |
MAP_WINDOW_CHANGED
Constant specifies the window of a map is changed. |
static int |
MAP_ZOOMSYNCHRONIZER_CHANGE
Constant specifies the zoom synchronizer of the map is changed |
Constructor Summary | |
MapEvent(GeographyMap map,
int type)
Constructs a MapEvent object with the specified type. |
|
MapEvent(java.lang.Object source,
int type)
|
Method Summary | |
int |
getEventType()
Returns the event type.. |
java.lang.String |
getEventTypeDescription()
Returns a parameter string identifying this event. |
GeographyMap |
getMap()
Gets the object on which the event initially occurred. |
java.lang.Object |
getSource()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int MAP_DRAWN
public static final int MAP_VIEWPORT_CHANGED
public static final int MAP_WINDOW_CHANGED
public static final int MAP_SCALE_CHANGED
public static final int MAP_SELECTEDFEATURE_CHANGED
public static final int MAP_MODE_CHANGED
public static final int MAP_QUERYLAYER_CHANGED
public static final int MAP_STARTRENDERRING
public static final int MAP_GROUNDING_COLORCHANGED
public static final int MAP_GROUNDING_STYLECHANGED
public static final int MAP_UNIT_CHANGED
public static final int MAP_OVERVIEW_STARTRENDERING
public static final int MAP_ZOOMSYNCHRONIZER_CHANGE
public static final int MAP_MULTILAYRRS_VISIBLITY_SCALE
public static final int MAP_OVERVIEW_DRAWN
Constructor Detail |
public MapEvent(GeographyMap map, int type)
map
- the source of the event.type
- the type of the event.public MapEvent(java.lang.Object source, int type)
Method Detail |
public GeographyMap getMap()
public int getEventType()
public java.lang.String getEventTypeDescription()
public java.lang.Object getSource()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |