public class TextboxFormElement extends FormControlElementSupport implements com.foreach.across.modules.web.ui.elements.ConfigurableTextViewElement, ConfigurablePlaceholderText
| Modifier and Type | Class and Description |
|---|---|
static class |
TextboxFormElement.Type |
com.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>FormControlElement.Proxy| Modifier and Type | Field and Description |
|---|---|
static String |
CSS_DISABLE_LINE_BREAKS |
static String |
ELEMENT_TYPE |
| Constructor and Description |
|---|
TextboxFormElement() |
| Modifier and Type | Method and Description |
|---|---|
TextboxFormElement |
addAttributes(Map<String,Object> attributes) |
TextboxFormElement |
addChild(com.foreach.across.modules.web.ui.ViewElement element) |
TextboxFormElement |
addChildren(Collection<? extends com.foreach.across.modules.web.ui.ViewElement> elements) |
TextboxFormElement |
addCssClass(String... cssClass) |
TextboxFormElement |
addFirstChild(com.foreach.across.modules.web.ui.ViewElement element) |
TextboxFormElement |
apply(Consumer<com.foreach.across.modules.web.ui.elements.ContainerViewElement> consumer) |
<U extends com.foreach.across.modules.web.ui.ViewElement> |
applyUnsafe(Consumer<U> consumer) |
TextboxFormElement |
clearChildren() |
TextboxFormElement |
remove(com.foreach.across.modules.web.ui.ViewElement.WitherRemover... functions) |
TextboxFormElement |
removeAttribute(String attributeName) |
TextboxFormElement |
removeCssClass(String... cssClass) |
TextboxFormElement |
set(com.foreach.across.modules.web.ui.ViewElement.WitherSetter... setters) |
TextboxFormElement |
setAttribute(String attributeName,
Object attributeValue) |
TextboxFormElement |
setAttributes(Map<String,Object> attributes) |
TextboxFormElement |
setControlName(String controlName) |
TextboxFormElement |
setCustomTemplate(String customTemplate) |
TextboxFormElement |
setDisabled(boolean disabled) |
protected TextboxFormElement |
setElementType(String elementType) |
TextboxFormElement |
setHtmlId(String htmlId) |
TextboxFormElement |
setName(String name) |
TextboxFormElement |
setReadonly(boolean readonly) |
TextboxFormElement |
setRequired(boolean required) |
protected TextboxFormElement |
setTagName(String tagName) |
getControlNameget, getAttribute, getAttribute, getAttributes, getHtmlId, getTagName, hasAttribute, hasCssClass, returnIfTypeelementStream, find, 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, waitgetText, setTextget, getCustomTemplate, getElementType, getName, matches, predicateFor, withgetPlaceholder, setPlaceholderisReadonly, isRequiredisDisabledpublic static final String ELEMENT_TYPE
public static final String CSS_DISABLE_LINE_BREAKS
public TextboxFormElement setDisabled(boolean disabled)
setDisabled in interface FormInputElementpublic TextboxFormElement setReadonly(boolean readonly)
setReadonly in interface FormControlElementpublic TextboxFormElement setRequired(boolean required)
setRequired in interface FormControlElementpublic TextboxFormElement setName(String name)
setName in interface com.foreach.across.modules.web.ui.MutableViewElementsetName in class FormControlElementSupportpublic TextboxFormElement setControlName(String controlName)
setControlName in interface FormInputElementsetControlName in class FormControlElementSupportpublic TextboxFormElement setHtmlId(String htmlId)
setHtmlId in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementsetHtmlId in class FormControlElementSupportpublic TextboxFormElement addCssClass(String... cssClass)
addCssClass in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementaddCssClass in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic TextboxFormElement removeCssClass(String... cssClass)
removeCssClass in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementremoveCssClass in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic TextboxFormElement 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 TextboxFormElement 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 TextboxFormElement 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 TextboxFormElement removeAttribute(String attributeName)
removeAttribute in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementremoveAttribute in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic TextboxFormElement setCustomTemplate(String customTemplate)
setCustomTemplate in interface com.foreach.across.modules.web.ui.MutableViewElementsetCustomTemplate in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementprotected TextboxFormElement setElementType(String elementType)
setElementType in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic TextboxFormElement addChild(com.foreach.across.modules.web.ui.ViewElement element)
addChild in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic TextboxFormElement addChildren(Collection<? extends com.foreach.across.modules.web.ui.ViewElement> elements)
addChildren in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic TextboxFormElement addFirstChild(com.foreach.across.modules.web.ui.ViewElement element)
addFirstChild in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic TextboxFormElement clearChildren()
clearChildren in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic TextboxFormElement 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> TextboxFormElement applyUnsafe(Consumer<U> consumer)
applyUnsafe in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementprotected TextboxFormElement setTagName(String tagName)
setTagName in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic TextboxFormElement 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 TextboxFormElement 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.