org.zkoss.gmaps.event
Class MapMouseEvent

java.lang.Object
  extended by org.zkoss.zk.ui.event.Event
      extended by org.zkoss.zk.ui.event.MouseEvent
          extended by org.zkoss.gmaps.event.MapClickEvent
              extended by org.zkoss.gmaps.event.MapMouseEvent

public class MapMouseEvent
extends MapClickEvent

A generic mouse event for Maps engine such as Gmaps.

Since:
2.0_9
Author:
henrichen

Field Summary
 
Fields inherited from class org.zkoss.zk.ui.event.MouseEvent
ALT_KEY, CTRL_KEY, SHIFT_KEY
 
Constructor Summary
MapMouseEvent(java.lang.String name, org.zkoss.zk.ui.Component target, org.zkoss.zk.ui.Component ref, double lat, double lng, int x, int y, int clientX, int clientY, int keys)
          Constructs a Google Maps click event.
 
Method Summary
 
Methods inherited from class org.zkoss.gmaps.event.MapClickEvent
getArea, getClientX, getClientY, getGmarker, getLat, getLng, getReference
 
Methods inherited from class org.zkoss.zk.ui.event.MouseEvent
getKeys, getX, getY
 
Methods inherited from class org.zkoss.zk.ui.event.Event
getData, getName, getPage, getTarget, isPropagatable, stopPropagation, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MapMouseEvent

public MapMouseEvent(java.lang.String name,
                     org.zkoss.zk.ui.Component target,
                     org.zkoss.zk.ui.Component ref,
                     double lat,
                     double lng,
                     int x,
                     int y,
                     int clientX,
                     int clientY,
                     int keys)
Constructs a Google Maps click event.

Parameters:
name - the event name
target - the event target (should be a Maps component such as Gmaps.
ref - the reference component that triggers this event.
lat - the latitude clicked on
lng - the longitude clicked on
x - the x clicked on related to the Maps.
y - the y clicked on related to the Maps.
clientX - the x clicked on related to the browser client.
clientY - the y clicked on related to the browser client.
keys - a combination of MouseEvent.CTRL_KEY, MouseEvent.SHIFT_KEY and MouseEvent.ALT_KEY.


Copyright © 2005-2007 Potix Corporation. All Rights Reserved.