org.wicketstuff.gmap.event
Class GEventListenerBehavior

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.gmap.event.GEventListenerBehavior
All Implemented Interfaces:
Serializable, IBehaviorListener, IComponentAwareEventSink, IRequestListener, IComponentAwareHeaderContributor, IClusterable
Direct Known Subclasses:
ClickListener, DblClickListener, DragEndListener, DragListener, DragStartListener, LoadListener, MapTypeChangedListener, ZoomChangedListener

public abstract class GEventListenerBehavior
extends AbstractDefaultAjaxBehavior

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
GEventListenerBehavior()
           
 
Method Summary
protected abstract  String getEvent()
          See: Event table after google.maps.Map class.
protected  GMap getGMap()
           
 String getJSaddListener()
           
 boolean getStatelessHint(Component component)
           
protected  void onBind()
           
protected abstract  void onEvent(AjaxRequestTarget target)
          Typically response parameters that are meant for this event are picket up and made available for the further processing.
protected  void respond(AjaxRequestTarget target)
           
 
Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getCallbackScript, getChannel, getFailureScript, getPreconditionScript, getSuccessScript, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes, renderHead, updateAjaxAttributes
 
Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
 
Methods inherited from class org.apache.wicket.behavior.Behavior
beforeRender, canCallListenerInterface, detach, isEnabled, isTemporary, onConfigure, onEvent, onException, onRemove
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GEventListenerBehavior

public GEventListenerBehavior()
Method Detail

onBind

protected void onBind()
Overrides:
onBind in class AbstractDefaultAjaxBehavior
See Also:
AbstractDefaultAjaxBehavior.onBind()

getJSaddListener

public String getJSaddListener()

getGMap

protected final GMap getGMap()

respond

protected final void respond(AjaxRequestTarget target)
Specified by:
respond in class AbstractDefaultAjaxBehavior
See Also:
AbstractDefaultAjaxBehavior.respond(org.apache.wicket.ajax.AjaxRequestTarget)

onEvent

protected abstract void onEvent(AjaxRequestTarget target)
Typically response parameters that are meant for this event are picket up and made available for the further processing.

Parameters:
target - Target to add the Components, that need to be redrawn, to.

getEvent

protected abstract String getEvent()
See: Event table after google.maps.Map class.

Returns:
The name of the GMap Event that this Listener ought to listen to.

getStatelessHint

public boolean getStatelessHint(Component component)
Overrides:
getStatelessHint in class Behavior


Copyright © 2014. All rights reserved.