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