|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjp.sf.mapswidgets.GoogleMapsAdapter
public class GoogleMapsAdapter
This adapter class provides default implementations for the
methods described by the GoogleMapsListener interface.
GoogleMapsListener| Constructor Summary | |
|---|---|
GoogleMapsAdapter()
|
|
| Method Summary | |
|---|---|
void |
allOverlaysRemoved()
Called after all overlays are cleared from the map. |
void |
clicked(Overlay overlay)
Called when the user clicks the overlay on the map. |
void |
clicked(Point point)
Called when the user clicks the map. |
void |
mapTypeChanged()
Called after the map type (Map, Hybrid, or Satellite) changes. |
void |
moved()
Called when the map is moving. |
void |
moveEnded()
Called at the end of a discrete or continuous map movement. |
void |
moveStarted()
Called at the beginning of a continuous pan/drag movement. |
void |
overlayAdded(Overlay overlay)
Called after an overlay is added to the map. |
void |
overlayRemoved(Overlay overlay)
Called after an overlay is removed from the map. |
void |
windowClosed()
Called after the info window is closed. |
void |
windowOpend()
Called after the info window is displayed. |
void |
zoomed(int oldZoomLevel,
int newZoomLevel)
Called after the map zoom level changes. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GoogleMapsAdapter()
| Method Detail |
|---|
public void allOverlaysRemoved()
GoogleMapsListenerSee Google Maps API documentation [Class Reference > GMap > Events > clearoverlays].
allOverlaysRemoved in interface GoogleMapsListenerpublic void clicked(Overlay overlay)
GoogleMapsListenerSee Google Maps API documentation [Class Reference > GMap > Events > click].
clicked in interface GoogleMapsListeneroverlay - the clicked overlaypublic void clicked(Point point)
GoogleMapsListenerSee Google Maps API documentation [Class Reference > GMap > Events > click].
clicked in interface GoogleMapsListenerpoint - the clicked pointpublic void mapTypeChanged()
GoogleMapsListenerSee Google Maps API documentation [Class Reference > GMap > Events > maptypechanged].
mapTypeChanged in interface GoogleMapsListenerpublic void moved()
GoogleMapsListenerThis event is triggered continuously as the map is dragged.
See Google Maps API documentation [Class Reference > GMap > Events > move].
moved in interface GoogleMapsListenerpublic void moveEnded()
GoogleMapsListenerThis event is triggered once at the end of a continuous pan.
See Google Maps API documentation [Class Reference > GMap > Events > moveend].
moveEnded in interface GoogleMapsListenerpublic void moveStarted()
GoogleMapsListenerThis event is not triggered when the map moves discretely.
See Google Maps API documentation [Class Reference > GMap > Events > movestart].
moveStarted in interface GoogleMapsListenerpublic void overlayAdded(Overlay overlay)
GoogleMapsListenerSee Google Maps API documentation [Class Reference > GMap > Events > addoverlay].
overlayAdded in interface GoogleMapsListeneroverlay - the added overlaypublic void overlayRemoved(Overlay overlay)
GoogleMapsListenerSee Google Maps API documentation [Class Reference > GMap > Events > removeoverlay].
overlayRemoved in interface GoogleMapsListeneroverlay - the removed overlaypublic void windowClosed()
GoogleMapsListenerSee Google Maps API documentation [Class Reference > GMap > Events > infowindowclose].
windowClosed in interface GoogleMapsListenerpublic void windowOpend()
GoogleMapsListenerSee Google Maps API documentation [Class Reference > GMap > Events > infowindowopen].
windowOpend in interface GoogleMapsListener
public void zoomed(int oldZoomLevel,
int newZoomLevel)
GoogleMapsListenerSee Google Maps API documentation [Class Reference > GMap > Events > zoom].
zoomed in interface GoogleMapsListeneroldZoomLevel - the old zoom levelnewZoomLevel - the new zoom level
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||