Example usage for org.apache.wicket.extensions.ajax.markup.html.autocomplete StringAutoCompleteRenderer INSTANCE

List of usage examples for org.apache.wicket.extensions.ajax.markup.html.autocomplete StringAutoCompleteRenderer INSTANCE

Introduction

In this page you can find the example usage for org.apache.wicket.extensions.ajax.markup.html.autocomplete StringAutoCompleteRenderer INSTANCE.

Prototype

IAutoCompleteRenderer INSTANCE

To view the source code for org.apache.wicket.extensions.ajax.markup.html.autocomplete StringAutoCompleteRenderer INSTANCE.

Click Source Link

Document

A singleton instance

Usage

From source file:eu.uqasar.web.components.IndicatingAjaxAutoCompleteTextField.java

License:Apache License

/**
 * Constructor for the given model and type.
 *
 * @param id component id//from  w w w. jav a  2  s .  c o m
 * @param model model
 * @param type model object type
 * @param settings settings for autocomplete
 */
@SuppressWarnings("unchecked")
private IndicatingAjaxAutoCompleteTextField(final String id, final IModel<T> model, final Class<T> type,
        final AutoCompleteSettings settings) {
    this(id, model, type, StringAutoCompleteRenderer.INSTANCE, settings);
}

From source file:org.obiba.onyx.quartz.editor.utils.AbstractAutoCompleteTextField.java

License:Open Source License

/**
 * Constructor/* w w  w . ja  v  a 2 s . com*/
 * 
 * @param id the ID to set
 * @param model the model to set
 * @param type the type to set
 * @param preselect the preselect to set
 */
public AbstractAutoCompleteTextField(final String id, final IModel model, final Class<?> type,
        final boolean preselect) {
    this(id, model, type, StringAutoCompleteRenderer.INSTANCE, preselect);
}

From source file:org.obiba.onyx.quartz.editor.utils.AbstractAutoCompleteTextField.java

License:Open Source License

/**
 * Constructor//w  w  w .ja v  a  2 s  .com
 * 
 * @param id the ID to set
 * @param model the model to set
 * @param type the type to set
 * @param settings the settings to set
 */
public AbstractAutoCompleteTextField(final String id, final IModel model, final Class<?> type,
        final AutoCompleteSettings settings) {
    this(id, model, type, StringAutoCompleteRenderer.INSTANCE, settings);
}