org.wicketstuff.gmap.api
Class GClientGeocoder
java.lang.Object
org.apache.wicket.behavior.Behavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
org.apache.wicket.ajax.AjaxEventBehavior
org.wicketstuff.gmap.api.GClientGeocoder
- All Implemented Interfaces:
- Serializable, org.apache.wicket.behavior.IBehaviorListener, org.apache.wicket.IComponentAwareEventSink, org.apache.wicket.IRequestListener, org.apache.wicket.markup.html.IComponentAwareHeaderContributor, org.apache.wicket.util.io.IClusterable
public abstract class GClientGeocoder
- extends org.apache.wicket.ajax.AjaxEventBehavior
- See Also:
- Serialized Form
| Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
INDICATOR |
| Fields inherited from interface org.apache.wicket.behavior.IBehaviorListener |
INTERFACE |
|
Constructor Summary |
GClientGeocoder(String event,
org.apache.wicket.markup.html.form.TextField<?> addressField)
Construct. |
GClientGeocoder(String event,
org.apache.wicket.markup.html.form.TextField<?> addressField,
org.apache.wicket.util.time.Duration timeout)
|
| Methods inherited from class org.apache.wicket.ajax.AjaxEventBehavior |
getEvent, onCheckEvent, respond, updateAjaxAttributes |
| Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, getChannel, getFailureScript, getPreconditionScript, getSuccessScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes |
| 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, getStatelessHint, isEnabled, isTemporary, onConfigure, onEvent, onException, onRemove |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GClientGeocoder
public GClientGeocoder(String event,
org.apache.wicket.markup.html.form.TextField<?> addressField)
- Construct.
- Parameters:
event -
GClientGeocoder
public GClientGeocoder(String event,
org.apache.wicket.markup.html.form.TextField<?> addressField,
org.apache.wicket.util.time.Duration timeout)
renderHead
public void renderHead(org.apache.wicket.Component c,
org.apache.wicket.markup.head.IHeaderResponse response)
- Specified by:
renderHead in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributor- Overrides:
renderHead in class org.apache.wicket.ajax.AjaxEventBehavior
onEvent
protected void onEvent(org.apache.wicket.ajax.AjaxRequestTarget target)
- Specified by:
onEvent in class org.apache.wicket.ajax.AjaxEventBehavior
onGeoCode
public abstract void onGeoCode(org.apache.wicket.ajax.AjaxRequestTarget target,
GeocoderStatus status,
String address,
GLatLng latLng)
- Parameters:
target - status - The status of the client side operation.address - The address if the status is GeocoderStatus#OK, otherwise- nulllatLng - The coordinates if the status is GeocoderStatus#OK, otherwise- null
getCallbackScript
public CharSequence getCallbackScript()
- Overrides:
getCallbackScript in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
Copyright © 2016. All rights reserved.