public abstract class AutoCompleteBehavior extends JQueryBehavior implements IJQueryAjaxAware
Modifier and Type | Class and Description |
---|---|
protected static class |
AutoCompleteBehavior.SelectEvent
Provides an event object that will be broadcasted by the
JQueryAjaxBehavior select callback |
method, options, selector
Constructor and Description |
---|
AutoCompleteBehavior(String selector)
Constructor
|
AutoCompleteBehavior(String selector,
Options options)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
bind(org.apache.wicket.Component component) |
protected JQueryAjaxBehavior |
newOnSelectBehavior()
Gets a new
JQueryAjaxBehavior that will be called on 'select' javascript method |
void |
onAjax(org.apache.wicket.ajax.AjaxRequestTarget target,
JQueryEvent event) |
void |
onConfigure(org.apache.wicket.Component component) |
void |
onSelect(org.apache.wicket.ajax.AjaxRequestTarget target,
int index) |
$, $, $, getOption, on, on, renderHead, setOption, setOptions
add, getJQueryLibrarySettings, toString
public AutoCompleteBehavior(String selector)
selector
- the html selector (ie: "#myId")public void bind(org.apache.wicket.Component component)
bind
in class org.apache.wicket.behavior.Behavior
public void onConfigure(org.apache.wicket.Component component)
onConfigure
in class JQueryAbstractBehavior
public void onAjax(org.apache.wicket.ajax.AjaxRequestTarget target, JQueryEvent event)
onAjax
in interface IJQueryAjaxAware
protected JQueryAjaxBehavior newOnSelectBehavior()
JQueryAjaxBehavior
that will be called on 'select' javascript methodJQueryAjaxBehavior
public void onSelect(org.apache.wicket.ajax.AjaxRequestTarget target, int index)
Copyright © 2013 7thWeb. All Rights Reserved.