public final class AutoSuggestFormElement extends com.foreach.across.modules.web.ui.elements.AbstractNodeViewElement implements FormControlElement, com.foreach.across.modules.web.ui.elements.ConfigurableTextViewElement, ConfigurablePlaceholderText
BootstrapViewElements.autoSuggest(TextboxFormElement, HiddenFormElement) or using a AutoSuggestFormElementBuilder.FormControlElement.Proxycom.foreach.across.modules.web.ui.elements.HtmlViewElement.Functionscom.foreach.across.modules.web.ui.ViewElement.Wither<T extends com.foreach.across.modules.web.ui.ViewElement>, com.foreach.across.modules.web.ui.ViewElement.WitherGetter<T extends com.foreach.across.modules.web.ui.ViewElement,U>, com.foreach.across.modules.web.ui.ViewElement.WitherRemover<T extends com.foreach.across.modules.web.ui.ViewElement>, com.foreach.across.modules.web.ui.ViewElement.WitherSetter<T extends com.foreach.across.modules.web.ui.ViewElement>| Modifier and Type | Field and Description |
|---|---|
static String |
ATTRIBUTE_DATA_AUTOSUGGEST |
static String |
ELEMENT_TYPE |
| Constructor and Description |
|---|
AutoSuggestFormElement(TextboxFormElement textbox,
HiddenFormElement valueControl) |
get, getAttribute, getAttribute, getAttributes, getTagName, hasAttribute, hasCssClass, returnIfTypefind, find, findAll, findAll, findAll, findOrSelf, findOrSelf, flatStream, getChildren, getCustomTemplate, getElementType, getName, hasChildren, removeAllFromTree, removeChild, removeFromTree, removeFromTreeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic static final String ELEMENT_TYPE
public static final String ATTRIBUTE_DATA_AUTOSUGGEST
public AutoSuggestFormElement(TextboxFormElement textbox, HiddenFormElement valueControl)
public String getHtmlId()
getHtmlId in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementgetHtmlId in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic AutoSuggestFormElement setHtmlId(String htmlId)
setHtmlId in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementsetHtmlId in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic boolean isReadonly()
isReadonly in interface FormControlElementpublic AutoSuggestFormElement setReadonly(boolean readonly)
setReadonly in interface FormControlElementpublic boolean isRequired()
isRequired in interface FormControlElementpublic AutoSuggestFormElement setRequired(boolean required)
setRequired in interface FormControlElementpublic String getControlName()
getControlName in interface FormInputElementpublic AutoSuggestFormElement setControlName(String controlName)
setControlName in interface FormInputElementpublic boolean isDisabled()
isDisabled in interface FormInputElementpublic AutoSuggestFormElement setDisabled(boolean disabled)
setDisabled in interface FormInputElementpublic AutoSuggestFormElement setPlaceholder(String placeholder)
setPlaceholder in interface ConfigurablePlaceholderTextpublic String getPlaceholder()
getPlaceholder in interface ConfigurablePlaceholderTextpublic AutoSuggestFormElement setText(String text)
setText in interface com.foreach.across.modules.web.ui.elements.ConfigurableTextViewElementpublic String getText()
getText in interface com.foreach.across.modules.web.ui.elements.ConfigurableTextViewElementpublic Object getValue()
public <V> V getValue(Class<V> expectedType)
public AutoSuggestFormElement setValue(Object value)
public AutoSuggestFormElementConfiguration getConfiguration()
public AutoSuggestFormElement setConfiguration(@NonNull @NonNull AutoSuggestFormElementConfiguration configuration)
public Stream<com.foreach.across.modules.web.ui.ViewElement> elementStream()
elementStream in class com.foreach.across.modules.web.ui.elements.ContainerViewElementpublic AutoSuggestFormElement addCssClass(String... cssClass)
addCssClass in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementaddCssClass in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic AutoSuggestFormElement removeCssClass(String... cssClass)
removeCssClass in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementremoveCssClass in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic AutoSuggestFormElement setAttributes(Map<String,Object> attributes)
setAttributes in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementsetAttributes in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic AutoSuggestFormElement setAttribute(String attributeName, Object attributeValue)
setAttribute in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementsetAttribute in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic AutoSuggestFormElement addAttributes(Map<String,Object> attributes)
addAttributes in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementaddAttributes in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic AutoSuggestFormElement removeAttribute(String attributeName)
removeAttribute in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementremoveAttribute in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic AutoSuggestFormElement setName(String name)
setName in interface com.foreach.across.modules.web.ui.MutableViewElementsetName in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic AutoSuggestFormElement setCustomTemplate(String customTemplate)
setCustomTemplate in interface com.foreach.across.modules.web.ui.MutableViewElementsetCustomTemplate in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementprotected AutoSuggestFormElement setElementType(String elementType)
setElementType in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic AutoSuggestFormElement addChild(com.foreach.across.modules.web.ui.ViewElement element)
addChild in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic AutoSuggestFormElement addChildren(Collection<? extends com.foreach.across.modules.web.ui.ViewElement> elements)
addChildren in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic AutoSuggestFormElement addFirstChild(com.foreach.across.modules.web.ui.ViewElement element)
addFirstChild in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic AutoSuggestFormElement clearChildren()
clearChildren in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic AutoSuggestFormElement apply(Consumer<com.foreach.across.modules.web.ui.elements.ContainerViewElement> consumer)
apply in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic <U extends com.foreach.across.modules.web.ui.ViewElement> AutoSuggestFormElement applyUnsafe(Consumer<U> consumer)
applyUnsafe in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementprotected AutoSuggestFormElement setTagName(String tagName)
setTagName in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic AutoSuggestFormElement set(com.foreach.across.modules.web.ui.ViewElement.WitherSetter... setters)
set in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementset in interface com.foreach.across.modules.web.ui.MutableViewElementset in interface com.foreach.across.modules.web.ui.ViewElementset in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic AutoSuggestFormElement remove(com.foreach.across.modules.web.ui.ViewElement.WitherRemover... functions)
remove in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementremove in interface com.foreach.across.modules.web.ui.MutableViewElementremove in interface com.foreach.across.modules.web.ui.ViewElementremove in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementCopyright © 2020. All rights reserved.