public abstract class ViewEventFeaturesListener extends AbstractDefaultAjaxBehavior
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PROJECTION
Default projection.
|
INDICATOR| 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(AjaxRequestTarget target,
ViewEvent viewEvent,
com.google.gson.JsonArray features)
Callback method that is invoked when the map's view is changed.
|
void |
renderHead(Component component,
IHeaderResponse response) |
protected void |
respond(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, onTagclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrendersPagepublic static final String DEFAULT_PROJECTION
public ViewEventFeaturesListener(Vector vectorLayer)
public abstract void handleViewEvent(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(AjaxRequestTarget target)
respond in class AbstractDefaultAjaxBehaviorpublic void renderHead(Component component, IHeaderResponse response)
renderHead in interface IComponentAwareHeaderContributorrenderHead in class AbstractDefaultAjaxBehaviorCopyright © 2014–2018. All rights reserved.