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, updateAjaxAttributes
findIndicatorId, getAttributes, getCallbackFunction, getCallbackFunctionBody, getCallbackScript, onBind, onRequest, postprocessConfiguration, renderAjaxAttributes, renderAjaxAttributes
afterRender, bind, getCallbackUrl, getComponent, onComponentRendered, onComponentTag, onComponentTag, onUnbind, unbind
public 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.IComponentAwareHeaderContributor
renderHead
in class org.apache.wicket.ajax.AjaxEventBehavior
protected void onEvent(org.apache.wicket.ajax.AjaxRequestTarget target)
onEvent
in class org.apache.wicket.ajax.AjaxEventBehavior
public 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- null
latLng
- The coordinates if the status is GeocoderStatus#OK
, otherwise- null
public CharSequence getCallbackScript()
getCallbackScript
in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
Copyright © 2015. All rights reserved.