org.wicketstuff.openlayers.event
Class ClickEventListenerBehavior

java.lang.Object
  extended by org.apache.wicket.behavior.Behavior
      extended by org.apache.wicket.behavior.AbstractAjaxBehavior
          extended by org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
              extended by org.wicketstuff.openlayers.event.EventListenerBehavior
                  extended by org.wicketstuff.openlayers.event.ClickEventListenerBehavior
All Implemented Interfaces:
Serializable, IBehaviorListener, IComponentAwareEventSink, IRequestListener, IComponentAwareHeaderContributor, IClusterable

public abstract class ClickEventListenerBehavior
extends EventListenerBehavior

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
INDICATOR
 
Fields inherited from interface org.apache.wicket.behavior.IBehaviorListener
INTERFACE
 
Constructor Summary
ClickEventListenerBehavior()
           
 
Method Summary
protected  String getEvent()
           
 String getJSaddListener()
           
protected abstract  void onClick(LonLat lonLat, AjaxRequestTarget target)
           
protected  void onEvent(AjaxRequestTarget target)
          Typically response parameters that are meant for this event are picket up and made available for the further processing.
 
Methods inherited from class org.wicketstuff.openlayers.event.EventListenerBehavior
getOpenLayersMap, onBind, renderHead, respond
 
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, getChannel, getFailureScript, getPreconditionScript, getSuccessScript, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, updateAjaxAttributes
 
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag
 
Methods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListenerInterface, detach, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, unbind
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClickEventListenerBehavior

public ClickEventListenerBehavior()
Method Detail

getJSaddListener

public String getJSaddListener()
Overrides:
getJSaddListener in class EventListenerBehavior

getEvent

protected String getEvent()
Specified by:
getEvent in class EventListenerBehavior

onEvent

protected void onEvent(AjaxRequestTarget target)
Description copied from class: EventListenerBehavior
Typically response parameters that are meant for this event are picket up and made available for the further processing.

Specified by:
onEvent in class EventListenerBehavior
Parameters:
target - Target to add the Components, that need to be redrawn, to.

onClick

protected abstract void onClick(LonLat lonLat,
                                AjaxRequestTarget target)


Copyright © 2008-2012. All Rights Reserved.