public abstract class VectorFeatureDataLoadedListener
extends org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
| Modifier and Type | Field and Description |
|---|---|
static Long |
counter
Counter for generating instance identifiers.
|
static Map<Object,String> |
objectIds
Map for storing object Ids.
|
Vector |
vector
Vector layer for which we are monitoring the loading of features.
|
| Constructor and Description |
|---|
VectorFeatureDataLoadedListener(Vector vector)
Creates a new instance.
|
| 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 |
handleDataLoaded(org.apache.wicket.ajax.AjaxRequestTarget target,
com.google.gson.JsonArray features)
Callback method that is invoked when feature data has been loaded into the vector layer.
|
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 Long counter
public Vector vector
public VectorFeatureDataLoadedListener(Vector vector)
vector - The vector layer for which we are monitoring the loading of features.public abstract void handleDataLoaded(org.apache.wicket.ajax.AjaxRequestTarget target,
com.google.gson.JsonArray features)
target - Ajax request targetfeatures - JsonArray with the list of loaded featurespublic 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.