public abstract class ClickHandler
extends org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PROJECTION
Default projection.
|
| Constructor and Description |
|---|
ClickHandler()
Creates a new instance.
|
ClickHandler(String projection)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
abstract void |
handleClick(org.apache.wicket.ajax.AjaxRequestTarget target,
LongLat longLat)
Dispatches the clicked coordinates.
|
void |
renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response) |
protected void |
respond(org.apache.wicket.ajax.AjaxRequestTarget target) |
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, getChannel, getFailureScript, getPreconditionScript, getSuccessScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributesafterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindpublic static final String DEFAULT_PROJECTION
public ClickHandler()
public ClickHandler(String projection)
projection - The clicked coordinate will be transformed into this projectionpublic abstract void handleClick(org.apache.wicket.ajax.AjaxRequestTarget target,
LongLat longLat)
target - Ajax request targetlongLat - Longitude and latitude of the clickprotected void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
respond in class org.apache.wicket.ajax.AbstractDefaultAjaxBehaviorpublic void renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response)
renderHead in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributorrenderHead in class org.apache.wicket.ajax.AbstractDefaultAjaxBehaviorCopyright © 2015. All rights reserved.