public class NumericFormElement extends FormControlElementSupport implements FormControlElement.Proxy, ConfigurablePlaceholderText
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_NUMERIC |
static String |
CSS_NUMERIC |
| Constructor and Description |
|---|
NumericFormElement() |
get, returnIfTypeelementStream, find, find, findAll, findAll, findAll, findOrSelf, findOrSelf, flatStream, getCustomTemplate, getElementType, getName, hasChildren, removeAllFromTree, removeChild, removeFromTree, removeFromTreepublic static final String ATTRIBUTE_DATA_NUMERIC
public static final String CSS_NUMERIC
public TextboxFormElement getControl()
getControl in interface FormControlElement.Proxypublic NumericFormElementConfiguration getConfiguration()
public NumericFormElement setConfiguration(@NonNull @NonNull NumericFormElementConfiguration configuration)
public NumericFormElement setPlaceholder(String placeholder)
setPlaceholder in interface ConfigurablePlaceholderTextpublic String getPlaceholder()
getPlaceholder in interface ConfigurablePlaceholderTextpublic boolean isReadonly()
isReadonly in interface FormControlElementpublic NumericFormElement setReadonly(boolean readonly)
setReadonly in interface FormControlElementpublic boolean isRequired()
isRequired in interface FormControlElementpublic NumericFormElement setRequired(boolean required)
setRequired in interface FormControlElementpublic String getControlName()
getControlName in interface FormInputElementgetControlName in class FormControlElementSupportpublic NumericFormElement setControlName(String controlName)
setControlName in interface FormInputElementsetControlName in class FormControlElementSupportpublic boolean isDisabled()
isDisabled in interface FormInputElementpublic NumericFormElement setDisabled(boolean disabled)
setDisabled in interface FormInputElementpublic String getTagName()
getTagName in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementgetTagName in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic NumericFormElement addCssClass(String... cssClass)
addCssClass in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementaddCssClass in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic boolean hasCssClass(String cssClass)
hasCssClass in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementhasCssClass in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic NumericFormElement removeCssClass(String... cssClass)
removeCssClass in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementremoveCssClass in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic NumericFormElement setHtmlId(String id)
setHtmlId in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementsetHtmlId in class FormControlElementSupportpublic String getHtmlId()
getHtmlId in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementgetHtmlId in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic Map<String,Object> getAttributes()
getAttributes in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementgetAttributes in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic NumericFormElement 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 NumericFormElement 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 NumericFormElement 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 NumericFormElement removeAttribute(String attributeName)
removeAttribute in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementremoveAttribute in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic Object getAttribute(String attributeName)
getAttribute in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementgetAttribute in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic <V,U extends V> U getAttribute(String attributeName, Class<V> expectedType)
getAttribute in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementgetAttribute in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic boolean hasAttribute(String attributeName)
hasAttribute in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementhasAttribute in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic Number getValue()
public NumericFormElement setValue(Number value)
public List<com.foreach.across.modules.web.ui.ViewElement> getChildren()
getChildren in class com.foreach.across.modules.web.ui.elements.ContainerViewElementpublic NumericFormElement setName(String name)
setName in interface com.foreach.across.modules.web.ui.MutableViewElementsetName in class FormControlElementSupportpublic NumericFormElement setCustomTemplate(String customTemplate)
setCustomTemplate in interface com.foreach.across.modules.web.ui.MutableViewElementsetCustomTemplate in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementprotected NumericFormElement setElementType(String elementType)
setElementType in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic NumericFormElement addChild(com.foreach.across.modules.web.ui.ViewElement element)
addChild in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic NumericFormElement addChildren(Collection<? extends com.foreach.across.modules.web.ui.ViewElement> elements)
addChildren in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic NumericFormElement addFirstChild(com.foreach.across.modules.web.ui.ViewElement element)
addFirstChild in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic NumericFormElement clearChildren()
clearChildren in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic NumericFormElement 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> NumericFormElement applyUnsafe(Consumer<U> consumer)
applyUnsafe in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementprotected NumericFormElement setTagName(String tagName)
setTagName in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic NumericFormElement 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 NumericFormElement 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.