public class AutoCompleteStartsWithTextField<T>
extends org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteTextField<T>
AutoCompleteTextField
that only display optsios/filters
as letters are being typed. You may override the this#evaluate(Object, Object)
function.
By default it assumes String as the generic type.
AjaxFormSubmitBehavior} & {@link AutoCompleteSettings}
,
Serialized Formorg.apache.wicket.markup.html.form.AbstractTextComponent.ITextFormatProvider
Constructor and Description |
---|
AutoCompleteStartsWithTextField(String id,
Collection<T> collection) |
AutoCompleteStartsWithTextField(String id,
Collection<T> collection,
org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteSettings settings) |
AutoCompleteStartsWithTextField(String id,
org.apache.wicket.model.IModel<T> model,
Collection<T> collection) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
evaluate(Object object,
Object input) |
protected Iterator<T> |
getChoices(String input) |
newAutoCompleteBehavior, onBeforeRender, onComponentTag
convertInput, convertValue, getConvertEmptyInputStringToNull, isInputNullable, setConvertEmptyInputStringToNull, supportsPersistence
add, add, checkRequired, clearInput, error, getConvertedInput, getForm, getInput, getInputAsArray, getInputName, getModel, getModelObject, getModelValue, getRawInput, getType, getValidatorKeyPrefix, getValidators, getValue, hasRawInput, inputAsInt, inputAsInt, inputAsIntArray, inputChanged, internalOnModelChanged, invalid, isMultiPart, isPersistent, isRequired, isValid, newValidatable, onDetach, onDisabled, onInvalid, onValid, processChildren, processInput, setConvertedInput, setLabel, setModel, setModelObject, setModelValue, setModelValue, setPersistent, setRequired, setType, shouldTrimInput, trim, updateModel, valid, validate, validateRequired, validateValidators, visitComponentsPostOrder, visitFormComponentsPostOrder
getLabel, setLabelInternal
getMarkupType, getWebPage, getWebRequest
add, addOrReplace, autoAdd, autoAdd, contains, findMarkupStream, get, get, getAssociatedMarkupStream, getMarkupStream, hasAssociatedMarkup, internalAdd, isTransparentResolver, iterator, iterator, newMarkupResourceStream, onComponentTagBody, onRender, remove, remove, removeAll, renderAll, renderAssociatedMarkup, renderComponentTagBody, renderNext, replace, setDefaultModel, setMarkupStream, size, swap, toString, toString, visitChildren, visitChildren
add, addStateChange, afterRender, beforeRender, callOnBeforeRenderIfNotVisible, checkComponentTag, checkComponentTagAttribute, checkHierarchyChange, configure, continueToOriginalDestination, debug, detach, detachBehaviors, detachModel, detachModels, determineVisibility, error, exceptionMessage, fatal, findPage, findParent, findParentWithAssociatedMarkup, getApplication, getBehaviors, getBehaviors, getBehaviorsRawList, getClassRelativePath, getComponentBorder, getConverter, getConverter, getDefaultModel, getDefaultModelObject, getDefaultModelObjectAsString, getDefaultModelObjectAsString, getEscapeModelStrings, getFeedbackMessage, getFlag, getFlag, getId, getInnermostModel, getInnermostModel, getLocale, getLocalizer, getMarkupAttributes, getMarkupId, getMarkupId, getMarkupIdImpl, getMetaData, getModelComparator, getOutputMarkupId, getOutputMarkupPlaceholderTag, getPage, getPageRelativePath, getParent, getPath, getRenderBodyOnly, getRequest, getRequestCycle, getResponse, getSession, getSizeInBytes, getStatelessHint, getString, getString, getString, getStyle, getVariation, hasBeenRendered, hasErrorMessage, hasFeedbackMessage, info, initModel, internalAttach, internalDetach, internalOnAttach, internalOnDetach, isActionAuthorized, isAncestorOf, isAttached, isBehaviorAccepted, isEnableAllowed, isEnabled, isEnabledInHierarchy, isIgnoreAttributeModifier, isRenderAllowed, isStateless, isVersioned, isVisibilityAllowed, isVisible, isVisibleInHierarchy, locateMarkupStream, markAttached, markRendering, modelChanged, modelChanging, onAfterRender, onAttach, onBeginRequest, onConfigure, onEndRequest, onInitialize, onModelChanged, onModelChanging, onRemove, prepareForRender, prepareForRender, redirectToInterceptPage, remove, remove, render, render, renderComponent, renderComponent, renderComponentTag, rendered, renderHead, renderPlaceholderTag, replaceComponentTagBody, replaceWith, sameInnermostModel, sameInnermostModel, setAuto, setComponentBorder, setDefaultModelObject, setEnabled, setEscapeModelStrings, setFlag, setFlag, setIgnoreAttributeModifier, setMarkupId, setMarkupIdImpl, setMetaData, setOutputMarkupId, setOutputMarkupPlaceholderTag, setRedirect, setRenderBodyOnly, setResponsePage, setResponsePage, setResponsePage, setVersioned, setVisibilityAllowed, setVisible, urlFor, urlFor, urlFor, urlFor, urlFor, urlFor, visitParents, warn, wrap
public AutoCompleteStartsWithTextField(String id, Collection<T> collection)
public AutoCompleteStartsWithTextField(String id, org.apache.wicket.model.IModel<T> model, Collection<T> collection)
public AutoCompleteStartsWithTextField(String id, Collection<T> collection, org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteSettings settings)
Copyright © 2018. All rights reserved.