public abstract class ViewEventListener extends AbstractDefaultAjaxBehavior
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_PROJECTION
Default projection.
|
INDICATOR| Constructor and Description |
|---|
ViewEventListener()
Creates a new instance.
|
ViewEventListener(String projection)
Creates a new instance and sets the projection used to transform coordinates.
|
| 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)
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 ViewEventListener()
public ViewEventListener(String projection)
projection - Projection used to transform coordinatespublic abstract void handleViewEvent(AjaxRequestTarget target, ViewEvent viewEvent)
target - Ajax request targetviewEvent - The current 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.