public abstract class PopupListener
extends org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
| Constructor and Description |
|---|
PopupListener(boolean wantEvents) |
| Modifier and Type | Method and Description |
|---|---|
void |
clickAndOpenPopup(Marker marker,
org.apache.wicket.ajax.AjaxRequestTarget target)
helper method
|
void |
closePopup(org.apache.wicket.ajax.AjaxRequestTarget target)
close the popup
|
String |
getCallBackForMarker(Marker marker) |
protected OpenLayersMap |
getOpenLayerMap() |
OpenLayersMap |
getOpenLayersMap() |
protected void |
onBind() |
protected void |
onClick(org.apache.wicket.ajax.AjaxRequestTarget target,
Overlay overlay)
Override this method to provide handling of a click on the marker.
|
protected void |
onEvent(org.apache.wicket.ajax.AjaxRequestTarget target) |
protected void |
onEvent(org.apache.wicket.ajax.AjaxRequestTarget target,
Overlay overlay,
EventType event)
Override this method to provide handling of a event on the marker.
|
protected void |
respond(org.apache.wicket.ajax.AjaxRequestTarget target) |
void |
setOpenLayersMap(OpenLayersMap openLayersMap) |
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, renderHead, updateAjaxAttributesafterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindbeforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTagpublic OpenLayersMap getOpenLayersMap()
public void setOpenLayersMap(OpenLayersMap openLayersMap)
protected void onBind()
onBind in class org.apache.wicket.ajax.AbstractDefaultAjaxBehaviorprotected final void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
respond in class org.apache.wicket.ajax.AbstractDefaultAjaxBehaviorprotected final OpenLayersMap getOpenLayerMap()
protected void onEvent(org.apache.wicket.ajax.AjaxRequestTarget target)
public void clickAndOpenPopup(Marker marker, org.apache.wicket.ajax.AjaxRequestTarget target)
marker - public void closePopup(org.apache.wicket.ajax.AjaxRequestTarget target)
target - protected void onClick(org.apache.wicket.ajax.AjaxRequestTarget target,
Overlay overlay)
overlay - The clicked overlay.target - The target that initiated the click.protected void onEvent(org.apache.wicket.ajax.AjaxRequestTarget target,
Overlay overlay,
EventType event)
overlay - The clicked overlay.target - The target that initiated the click.Copyright © 2008–2016. All rights reserved.