public abstract class ViewEventFeaturesListener
extends org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PROJECTION
Default projection.
|
| Constructor and Description |
|---|
ViewEventFeaturesListener(String projection,
Vector vectorLayer) |
ViewEventFeaturesListener(Vector vectorLayer) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCallbackFunctionName()
Javascript name of the callback function to invoke when feature data has been loaded into the layer.
|
String |
getId()
Returns a unique ID for this behavior.
|
abstract void |
handleViewEvent(org.apache.wicket.ajax.AjaxRequestTarget target,
ViewEvent viewEvent,
com.google.gson.JsonArray features)
Callback method that is invoked when the map's view is changed.
|
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, updateAjaxAttributesafterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindbeforeRender, canCallListener, detach, getStatelessHint, isEnabled, isTemporary, onAttribute, onConfigure, onEvent, onException, onRemove, onTagpublic static final String DEFAULT_PROJECTION
public ViewEventFeaturesListener(Vector vectorLayer)
public abstract void handleViewEvent(org.apache.wicket.ajax.AjaxRequestTarget target,
ViewEvent viewEvent,
com.google.gson.JsonArray features)
target - Ajax request targetviewEvent - The current viewfeatures - JSON array of features in the viewpublic String getCallbackFunctionName()
public String getId()
protected 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 © 2014–2017. All rights reserved.