org.zkoss.gmaps.event
Class MapMouseEvent
java.lang.Object
org.zkoss.zk.ui.event.Event
org.zkoss.zk.ui.event.MouseEvent
org.zkoss.gmaps.event.MapClickEvent
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
| 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. |
| 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 |
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 nametarget - the event target (should be a Maps component such as Gmaps.ref - the reference component that triggers this event.lat - the latitude clicked onlng - the longitude clicked onx - 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.