public class LabelFormElementBuilder extends AbstractHtmlSupportingNodeViewElementBuilder<LabelFormElement,LabelFormElementBuilder>
| Constructor and Description |
|---|
LabelFormElementBuilder() |
| Modifier and Type | Method and Description |
|---|---|
protected LabelFormElement |
createElement(com.foreach.across.modules.web.ui.ViewElementBuilderContext viewElementBuilderContext) |
LabelFormElementBuilder |
target(String htmlId) |
LabelFormElementBuilder |
target(com.foreach.across.modules.web.ui.ViewElement element) |
LabelFormElementBuilder |
target(com.foreach.across.modules.web.ui.ViewElementBuilder elementBuilder) |
LabelFormElementBuilder |
text(String text) |
LabelFormElementBuilder |
text(com.foreach.across.modules.web.ui.ViewElementBuilder textBuilder)
Configure a builder that should supply the text to be rendered.
|
escapeHtml, isEscapeHtml, resolveTextElement, toTextElementapply, attribute, attributes, clearAttributes, css, htmlId, removeAttribute, removeCssadd, add, addAll, addFirst, addFirst, sortbuild, configure, customTemplate, elementSupplier, elementSupplier, name, postProcess, postProcessor, registerWebResources, withclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpublic LabelFormElementBuilder text(String text)
public LabelFormElementBuilder text(com.foreach.across.modules.web.ui.ViewElementBuilder textBuilder)
TextViewElement with plain text, it will not be added as a child of the label, but used as
the text property. In all other cases the element will be the first child of the label.textBuilder - responsible for generating the textpublic LabelFormElementBuilder target(String htmlId)
public LabelFormElementBuilder target(com.foreach.across.modules.web.ui.ViewElement element)
public LabelFormElementBuilder target(com.foreach.across.modules.web.ui.ViewElementBuilder elementBuilder)
protected LabelFormElement createElement(com.foreach.across.modules.web.ui.ViewElementBuilderContext viewElementBuilderContext)
createElement in class com.foreach.across.modules.web.ui.ViewElementBuilderSupport<LabelFormElement,LabelFormElementBuilder>Copyright © 2020. All rights reserved.