Package org.wicketstuff.gmap.event
Class DblClickListener
- java.lang.Object
-
- org.apache.wicket.behavior.Behavior
-
- org.apache.wicket.behavior.AbstractAjaxBehavior
-
- org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
-
- org.wicketstuff.gmap.event.GEventListenerBehavior
-
- org.wicketstuff.gmap.event.DblClickListener
-
- All Implemented Interfaces:
Serializable
,IComponentAwareEventSink
,IRequestListener
,IComponentAwareHeaderContributor
,IClusterable
public abstract class DblClickListener extends GEventListenerBehavior
See "dblclick" in the event section of GMap.- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR
-
-
Constructor Summary
Constructors Constructor Description DblClickListener()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected String
getEvent()
See: Event table after google.maps.Map class.protected abstract void
onDblClick(AjaxRequestTarget target, GLatLng latLng)
Override this method to provide handling of a double-click on the map.protected void
onEvent(AjaxRequestTarget target)
Typically response parameters that are meant for this event are picket up and made available for the further processing.-
Methods inherited from class org.wicketstuff.gmap.event.GEventListenerBehavior
getGMap, getJSaddListener, getStatelessHint, onBind, respond
-
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onMethodMismatch, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, renderHead, updateAjaxAttributes
-
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
-
Methods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListener, detach, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTag
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.wicket.IRequestListener
rendersPage
-
-
-
-
Method Detail
-
getEvent
protected String getEvent()
Description copied from class:GEventListenerBehavior
See: Event table after google.maps.Map class.- Specified by:
getEvent
in classGEventListenerBehavior
- Returns:
- The name of the GMap Event that this Listener ought to listen to.
-
onEvent
protected final void onEvent(AjaxRequestTarget target)
Description copied from class:GEventListenerBehavior
Typically response parameters that are meant for this event are picket up and made available for the further processing.- Specified by:
onEvent
in classGEventListenerBehavior
- Parameters:
target
- Target to add the Components, that need to be redrawn, to.
-
onDblClick
protected abstract void onDblClick(AjaxRequestTarget target, GLatLng latLng)
Override this method to provide handling of a double-click on the map.- Parameters:
target
- the target that initiated the clicklatLng
- the clicked GLatLng
-
-