org.wicketstuff.scriptaculous.autocomplete
Class AutocompleteBehavior
java.lang.Object
org.apache.wicket.behavior.AbstractBehavior
org.apache.wicket.behavior.AbstractAjaxBehavior
org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
org.wicketstuff.scriptaculous.ScriptaculousAjaxBehavior
org.wicketstuff.scriptaculous.autocomplete.AbstractAutocompleteBehavior
org.wicketstuff.scriptaculous.autocomplete.AutocompleteBehavior
- All Implemented Interfaces:
- java.io.Serializable, org.apache.wicket.behavior.IBehavior, org.apache.wicket.behavior.IBehaviorListener, org.apache.wicket.IClusterable, org.apache.wicket.IRequestListener, org.apache.wicket.markup.html.IHeaderContributor
public class AutocompleteBehavior
- extends AbstractAutocompleteBehavior
Autocomplete behavior that provides a static list of options to autocomplete.
- Author:
- Ryan Sonnek
- See Also:
http://wiki.script.aculo.us/scriptaculous/show/Autocompleter.Local,
Serialized Form
| Fields inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
INDICATOR |
| Fields inherited from interface org.apache.wicket.behavior.IBehaviorListener |
INTERFACE |
|
Method Summary |
protected java.lang.String |
getAutocompleteType()
subclasses need to declare the scriptaculous autocomplete type. |
protected java.lang.String |
getThirdAutocompleteArgument()
Subclasses need to define this optional argument. |
protected void |
respond(org.apache.wicket.ajax.AjaxRequestTarget target)
|
| Methods inherited from class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior |
findIndicatorId, generateCallbackScript, getAjaxCallDecorator, getCallbackScript, getCallbackScript, getChannelName, getFailureScript, getPreconditionScript, getSuccessScript, onRequest, throttleScript |
| Methods inherited from class org.apache.wicket.behavior.AbstractAjaxBehavior |
bind, getCallbackUrl, getCallbackUrl, getComponent, getImplementationId, getStatelessHint, onComponentTag, onComponentTag, onRendered, onRenderHeadContribution, onRenderHeadInitContribution |
| Methods inherited from class org.apache.wicket.behavior.AbstractBehavior |
afterRender, beforeRender, cleanup, detach, detachModel, exception, isEnabled, isTemporary, onException, rendered |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AutocompleteBehavior
public AutocompleteBehavior(java.lang.String[] results)
getAutocompleteType
protected java.lang.String getAutocompleteType()
- Description copied from class:
AbstractAutocompleteBehavior
- subclasses need to declare the scriptaculous autocomplete type.
- Specified by:
getAutocompleteType in class AbstractAutocompleteBehavior
- Returns:
getThirdAutocompleteArgument
protected java.lang.String getThirdAutocompleteArgument()
- Description copied from class:
AbstractAutocompleteBehavior
- Subclasses need to define this optional argument.
each implementation requires a different value.
- Specified by:
getThirdAutocompleteArgument in class AbstractAutocompleteBehavior
- Returns:
respond
protected void respond(org.apache.wicket.ajax.AjaxRequestTarget target)
- Specified by:
respond in class org.apache.wicket.ajax.AbstractDefaultAjaxBehavior
Copyright © 2006-2011 Wicket Stuff. All Rights Reserved.