|
||||||||
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()
GoogleMapsListener
See Google Maps API documentation [Class Reference > GMap > Events > clearoverlays].
allOverlaysRemoved
in interface GoogleMapsListener
public void clicked(Overlay overlay)
GoogleMapsListener
See Google Maps API documentation [Class Reference > GMap > Events > click].
clicked
in interface GoogleMapsListener
overlay
- the clicked overlaypublic void clicked(Point point)
GoogleMapsListener
See Google Maps API documentation [Class Reference > GMap > Events > click].
clicked
in interface GoogleMapsListener
point
- the clicked pointpublic void mapTypeChanged()
GoogleMapsListener
See Google Maps API documentation [Class Reference > GMap > Events > maptypechanged].
mapTypeChanged
in interface GoogleMapsListener
public void moved()
GoogleMapsListener
This event is triggered continuously as the map is dragged.
See Google Maps API documentation [Class Reference > GMap > Events > move].
moved
in interface GoogleMapsListener
public void moveEnded()
GoogleMapsListener
This event is triggered once at the end of a continuous pan.
See Google Maps API documentation [Class Reference > GMap > Events > moveend].
moveEnded
in interface GoogleMapsListener
public void moveStarted()
GoogleMapsListener
This event is not triggered when the map moves discretely.
See Google Maps API documentation [Class Reference > GMap > Events > movestart].
moveStarted
in interface GoogleMapsListener
public void overlayAdded(Overlay overlay)
GoogleMapsListener
See Google Maps API documentation [Class Reference > GMap > Events > addoverlay].
overlayAdded
in interface GoogleMapsListener
overlay
- the added overlaypublic void overlayRemoved(Overlay overlay)
GoogleMapsListener
See Google Maps API documentation [Class Reference > GMap > Events > removeoverlay].
overlayRemoved
in interface GoogleMapsListener
overlay
- the removed overlaypublic void windowClosed()
GoogleMapsListener
See Google Maps API documentation [Class Reference > GMap > Events > infowindowclose].
windowClosed
in interface GoogleMapsListener
public void windowOpend()
GoogleMapsListener
See Google Maps API documentation [Class Reference > GMap > Events > infowindowopen].
windowOpend
in interface GoogleMapsListener
public void zoomed(int oldZoomLevel, int newZoomLevel)
GoogleMapsListener
See Google Maps API documentation [Class Reference > GMap > Events > zoom].
zoomed
in interface GoogleMapsListener
oldZoomLevel
- the old zoom levelnewZoomLevel
- the new zoom level
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |