public class TooltipViewElement
extends com.foreach.across.modules.web.ui.elements.NodeViewElement
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>| Constructor and Description |
|---|
TooltipViewElement() |
| Modifier and Type | Method and Description |
|---|---|
TooltipViewElement |
addAttributes(Map<String,Object> attributes) |
TooltipViewElement |
addChild(com.foreach.across.modules.web.ui.ViewElement element) |
TooltipViewElement |
addChildren(Collection<? extends com.foreach.across.modules.web.ui.ViewElement> elements) |
TooltipViewElement |
addCssClass(String... cssClass) |
TooltipViewElement |
addFirstChild(com.foreach.across.modules.web.ui.ViewElement element) |
TooltipViewElement |
apply(Consumer<com.foreach.across.modules.web.ui.elements.ContainerViewElement> consumer) |
<U extends com.foreach.across.modules.web.ui.ViewElement> |
applyUnsafe(Consumer<U> consumer) |
TooltipViewElement |
clearChildren() |
List<com.foreach.across.modules.web.ui.ViewElement> |
getChildren() |
String |
getText() |
boolean |
isEscapeHtml() |
TooltipViewElement |
remove(com.foreach.across.modules.web.ui.ViewElement.WitherRemover... functions) |
TooltipViewElement |
removeAttribute(String attributeName) |
TooltipViewElement |
removeCssClass(String... cssClass) |
TooltipViewElement |
set(com.foreach.across.modules.web.ui.ViewElement.WitherSetter... setters) |
TooltipViewElement |
setAttribute(String attributeName,
Object attributeValue) |
TooltipViewElement |
setAttributes(Map<String,Object> attributes) |
TooltipViewElement |
setCustomTemplate(String customTemplate) |
protected TooltipViewElement |
setElementType(String elementType) |
TooltipViewElement |
setEscapeHtml(boolean escapeHtml)
Should HTML text be escaped.
|
TooltipViewElement |
setHtmlId(String htmlId) |
TooltipViewElement |
setName(String name) |
TooltipViewElement |
setTagName(String tagName) |
TooltipViewElement |
setText(String text)
Set the tooltip text.
|
get, getAttribute, getAttribute, getAttributes, getHtmlId, getTagName, hasAttribute, hasCssClass, returnIfTypeelementStream, find, find, findAll, findAll, findAll, findOrSelf, findOrSelf, flatStream, getCustomTemplate, getElementType, getName, hasChildren, removeAllFromTree, removeChild, removeFromTree, removeFromTreepublic boolean isEscapeHtml()
public TooltipViewElement setEscapeHtml(boolean escapeHtml)
escapeHtml - should HTML text be escapedpublic TooltipViewElement setText(String text)
setText in interface com.foreach.across.modules.web.ui.elements.ConfigurableTextViewElementtext - to setpublic String getText()
getText in interface com.foreach.across.modules.web.ui.elements.ConfigurableTextViewElementpublic List<com.foreach.across.modules.web.ui.ViewElement> getChildren()
getChildren in class com.foreach.across.modules.web.ui.elements.ContainerViewElementpublic TooltipViewElement setTagName(String tagName)
setTagName in class com.foreach.across.modules.web.ui.elements.NodeViewElementpublic TooltipViewElement setHtmlId(String htmlId)
setHtmlId in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementsetHtmlId in class com.foreach.across.modules.web.ui.elements.NodeViewElementpublic TooltipViewElement addCssClass(String... cssClass)
addCssClass in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementaddCssClass in class com.foreach.across.modules.web.ui.elements.NodeViewElementpublic TooltipViewElement removeCssClass(String... cssClass)
removeCssClass in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementremoveCssClass in class com.foreach.across.modules.web.ui.elements.NodeViewElementpublic TooltipViewElement 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.NodeViewElementpublic TooltipViewElement 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.NodeViewElementpublic TooltipViewElement 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.NodeViewElementpublic TooltipViewElement removeAttribute(String attributeName)
removeAttribute in interface com.foreach.across.modules.web.ui.elements.HtmlViewElementremoveAttribute in class com.foreach.across.modules.web.ui.elements.NodeViewElementpublic TooltipViewElement setName(String name)
setName in interface com.foreach.across.modules.web.ui.MutableViewElementsetName in class com.foreach.across.modules.web.ui.elements.NodeViewElementpublic TooltipViewElement setCustomTemplate(String customTemplate)
setCustomTemplate in interface com.foreach.across.modules.web.ui.MutableViewElementsetCustomTemplate in class com.foreach.across.modules.web.ui.elements.NodeViewElementprotected TooltipViewElement setElementType(String elementType)
setElementType in class com.foreach.across.modules.web.ui.elements.NodeViewElementpublic TooltipViewElement addChild(com.foreach.across.modules.web.ui.ViewElement element)
addChild in class com.foreach.across.modules.web.ui.elements.NodeViewElementpublic TooltipViewElement addChildren(Collection<? extends com.foreach.across.modules.web.ui.ViewElement> elements)
addChildren in class com.foreach.across.modules.web.ui.elements.NodeViewElementpublic TooltipViewElement addFirstChild(com.foreach.across.modules.web.ui.ViewElement element)
addFirstChild in class com.foreach.across.modules.web.ui.elements.NodeViewElementpublic TooltipViewElement clearChildren()
clearChildren in class com.foreach.across.modules.web.ui.elements.NodeViewElementpublic TooltipViewElement apply(Consumer<com.foreach.across.modules.web.ui.elements.ContainerViewElement> consumer)
apply in class com.foreach.across.modules.web.ui.elements.NodeViewElementpublic <U extends com.foreach.across.modules.web.ui.ViewElement> TooltipViewElement applyUnsafe(Consumer<U> consumer)
applyUnsafe in class com.foreach.across.modules.web.ui.elements.NodeViewElementpublic TooltipViewElement 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.NodeViewElementpublic TooltipViewElement 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.NodeViewElementCopyright © 2020. All rights reserved.