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, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributes
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
public 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.AbstractDefaultAjaxBehavior
public void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response)
renderHead
in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributor
renderHead
in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
Copyright © 2015. All rights reserved.