public class LabelFormElement
extends com.foreach.across.modules.web.ui.elements.AbstractNodeViewElement
implements com.foreach.across.modules.web.ui.elements.ConfigurableTextViewElement
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>| Modifier and Type | Field and Description |
|---|---|
static String |
ELEMENT_TYPE |
| Constructor and Description |
|---|
LabelFormElement() |
| Modifier and Type | Method and Description |
|---|---|
LabelFormElement |
addAttributes(Map<String,Object> attributes) |
LabelFormElement |
addChild(com.foreach.across.modules.web.ui.ViewElement element) |
LabelFormElement |
addChildren(Collection<? extends com.foreach.across.modules.web.ui.ViewElement> elements) |
LabelFormElement |
addCssClass(String... cssClass) |
LabelFormElement |
addFirstChild(com.foreach.across.modules.web.ui.ViewElement element) |
LabelFormElement |
apply(Consumer<com.foreach.across.modules.web.ui.elements.ContainerViewElement> consumer) |
<U extends com.foreach.across.modules.web.ui.ViewElement> |
applyUnsafe(Consumer<U> consumer) |
LabelFormElement |
clearChildren() |
com.foreach.across.modules.web.ui.ViewElement |
getTargetAsElement() |
String |
getTargetAsId() |
String |
getText() |
boolean |
hasTarget() |
boolean |
isTargetId() |
LabelFormElement |
remove(com.foreach.across.modules.web.ui.ViewElement.WitherRemover... functions) |
LabelFormElement |
removeAttribute(String attributeName) |
LabelFormElement |
removeCssClass(String... cssClass) |
LabelFormElement |
set(com.foreach.across.modules.web.ui.ViewElement.WitherSetter... setters) |
LabelFormElement |
setAttribute(String attributeName,
Object attributeValue) |
LabelFormElement |
setAttributes(Map<String,Object> attributes) |
LabelFormElement |
setCustomTemplate(String customTemplate) |
protected LabelFormElement |
setElementType(String elementType) |
LabelFormElement |
setHtmlId(String htmlId) |
LabelFormElement |
setName(String name) |
protected LabelFormElement |
setTagName(String tagName) |
LabelFormElement |
setTarget(String fixedId) |
LabelFormElement |
setTarget(com.foreach.across.modules.web.ui.ViewElement viewElement) |
LabelFormElement |
setText(String text) |
get, getAttribute, getAttribute, getAttributes, getHtmlId, getTagName, hasAttribute, hasCssClass, returnIfTypeelementStream, find, find, findAll, findAll, findAll, findOrSelf, findOrSelf, flatStream, getChildren, getCustomTemplate, getElementType, getName, hasChildren, removeAllFromTree, removeChild, removeFromTree, removeFromTreepublic static final String ELEMENT_TYPE
public String getText()
getText in interface com.foreach.across.modules.web.ui.elements.ConfigurableTextViewElementpublic LabelFormElement setText(String text)
setText in interface com.foreach.across.modules.web.ui.elements.ConfigurableTextViewElementpublic LabelFormElement setTarget(String fixedId)
public LabelFormElement setTarget(com.foreach.across.modules.web.ui.ViewElement viewElement)
public boolean isTargetId()
ViewElement was provided or target is not set.public boolean hasTarget()
public String getTargetAsId()
public com.foreach.across.modules.web.ui.ViewElement getTargetAsElement()
public LabelFormElement addCssClass(String... cssClass)
addCssClass in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementaddCssClass in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic LabelFormElement removeCssClass(String... cssClass)
removeCssClass in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementremoveCssClass in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic LabelFormElement 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 LabelFormElement 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 LabelFormElement 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 LabelFormElement removeAttribute(String attributeName)
removeAttribute in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementremoveAttribute in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic LabelFormElement setName(String name)
setName in interface com.foreach.across.modules.web.ui.MutableViewElementsetName in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic LabelFormElement setCustomTemplate(String customTemplate)
setCustomTemplate in interface com.foreach.across.modules.web.ui.MutableViewElementsetCustomTemplate in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementprotected LabelFormElement setElementType(String elementType)
setElementType in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic LabelFormElement addChild(com.foreach.across.modules.web.ui.ViewElement element)
addChild in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic LabelFormElement addChildren(Collection<? extends com.foreach.across.modules.web.ui.ViewElement> elements)
addChildren in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic LabelFormElement addFirstChild(com.foreach.across.modules.web.ui.ViewElement element)
addFirstChild in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic LabelFormElement clearChildren()
clearChildren in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic LabelFormElement 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> LabelFormElement applyUnsafe(Consumer<U> consumer)
applyUnsafe in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementprotected LabelFormElement setTagName(String tagName)
setTagName in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic LabelFormElement setHtmlId(String htmlId)
setHtmlId in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementsetHtmlId in class com.foreach.across.modules.web.ui.elements.AbstractNodeViewElementpublic LabelFormElement 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 LabelFormElement 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.