Class AutoCompleteBehavior

    • Constructor Detail

      • AutoCompleteBehavior

        public AutoCompleteBehavior​(String selector,
                                    com.googlecode.wicket.jquery.core.Options options,
                                    IAutoCompleteListener listener)
        Constructor
        Parameters:
        selector - the html selector (ie: "#myId")
        options - the Options
        listener - the IAutoCompleteListener
    • Method Detail

      • getChoiceCallbackUrl

        protected abstract CharSequence getChoiceCallbackUrl()
      • onAjax

        public void onAjax​(AjaxRequestTarget target,
                           com.googlecode.wicket.jquery.core.JQueryEvent event)
        Specified by:
        onAjax in interface com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware
      • newOnSelectAjaxBehavior

        protected com.googlecode.wicket.jquery.core.ajax.JQueryAjaxBehavior newOnSelectAjaxBehavior​(com.googlecode.wicket.jquery.core.ajax.IJQueryAjaxAware source)
        Gets a new JQueryAjaxBehavior that will be wired to the 'select' event
        Parameters:
        source - the IJQueryAjaxAware
        Returns:
        a new OnSelectAjaxBehavior by default