public abstract class GClientGeocoder
extends org.apache.wicket.ajax.AjaxEventBehavior
| Constructor and Description |
|---|
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) |
| Modifier and Type | Method and Description |
|---|---|
CharSequence |
getCallbackScript() |
protected void |
onEvent(org.apache.wicket.ajax.AjaxRequestTarget target) |
abstract void |
onGeoCode(org.apache.wicket.ajax.AjaxRequestTarget target,
GeocoderStatus status,
String address,
GLatLng latLng) |
void |
renderHead(org.apache.wicket.Component c,
org.apache.wicket.markup.head.IHeaderResponse response) |
getEvent, onCheckEvent, respond, updateAjaxAttributesfindIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributesafterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbindpublic GClientGeocoder(String event, org.apache.wicket.markup.html.form.TextField<?> addressField)
event - public GClientGeocoder(String event, org.apache.wicket.markup.html.form.TextField<?> addressField, org.apache.wicket.util.time.Duration timeout)
public void renderHead(org.apache.wicket.Component c,
org.apache.wicket.markup.head.IHeaderResponse response)
renderHead in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributorrenderHead in class org.apache.wicket.ajax.AjaxEventBehaviorprotected void onEvent(org.apache.wicket.ajax.AjaxRequestTarget target)
onEvent in class org.apache.wicket.ajax.AjaxEventBehaviorpublic abstract void onGeoCode(org.apache.wicket.ajax.AjaxRequestTarget target,
GeocoderStatus status,
String address,
GLatLng latLng)
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- nullpublic CharSequence getCallbackScript()
getCallbackScript in class org.apache.wicket.ajax.AbstractDefaultAjaxBehaviorCopyright © 2015. All rights reserved.