Class TooltipViewElementBuilder
java.lang.Object
com.foreach.across.modules.web.ui.ViewElementBuilderSupport<T,SELF>
 
com.foreach.across.modules.web.ui.elements.builder.ContainerViewElementBuilderSupport<T,SELF>
 
com.foreach.across.modules.web.ui.elements.builder.AbstractNodeViewElementBuilder<T,SELF>
 
com.foreach.across.modules.bootstrapui.elements.builder.AbstractHtmlSupportingNodeViewElementBuilder<TooltipViewElement,TooltipViewElementBuilder>
 
com.foreach.across.modules.bootstrapui.elements.tooltip.TooltipViewElementBuilder
- All Implemented Interfaces:
 com.foreach.across.modules.web.ui.elements.builder.HtmlViewElementBuilder<TooltipViewElement,,TooltipViewElementBuilder> com.foreach.across.modules.web.ui.ViewElementBuilder<TooltipViewElement>
public class TooltipViewElementBuilder
extends AbstractHtmlSupportingNodeViewElementBuilder<TooltipViewElement,TooltipViewElementBuilder> 
Responsible for creating a 
TooltipViewElement instance.
 A default tooltip instance supports HTML markup in its text.- Since:
 - 2.0.0
 - Author:
 - Arne Vandamme
 
- 
Nested Class Summary
Nested classes/interfaces inherited from class com.foreach.across.modules.web.ui.ViewElementBuilderSupport
com.foreach.across.modules.web.ui.ViewElementBuilderSupport.ElementOrBuilderNested classes/interfaces inherited from interface com.foreach.across.modules.web.ui.ViewElementBuilder
com.foreach.across.modules.web.ui.ViewElementBuilder.Wither<T extends com.foreach.across.modules.web.ui.ViewElementBuilder> - 
Field Summary
Fields inherited from class com.foreach.across.modules.web.ui.ViewElementBuilderSupport
customTemplate, name - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionprotected TooltipViewElementcreateElement(com.foreach.across.modules.web.ui.ViewElementBuilderContext builderContext) icon(com.foreach.across.modules.web.ui.ViewElement icon) Set the icon that should be used.Set a custom tag for the tooltip element.Set the tooltip text.Methods inherited from class com.foreach.across.modules.bootstrapui.elements.builder.AbstractHtmlSupportingNodeViewElementBuilder
escapeHtml, isEscapeHtml, resolveTextElement, toTextElementMethods inherited from class com.foreach.across.modules.web.ui.elements.builder.AbstractNodeViewElementBuilder
apply, attribute, attributes, clearAttributes, css, htmlId, removeAttribute, removeCssMethods inherited from class com.foreach.across.modules.web.ui.elements.builder.ContainerViewElementBuilderSupport
add, add, addAll, addFirst, addFirst, sortMethods inherited from class com.foreach.across.modules.web.ui.ViewElementBuilderSupport
build, configure, customTemplate, elementSupplier, elementSupplier, name, postProcess, postProcessor, registerWebResources, withMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.foreach.across.modules.web.ui.elements.builder.HtmlViewElementBuilder
data, removeDataMethods inherited from interface com.foreach.across.modules.web.ui.ViewElementBuilder
andThen, build, doWith, map, map, postProcess, postProcess 
- 
Constructor Details
- 
TooltipViewElementBuilder
public TooltipViewElementBuilder() 
 - 
 - 
Method Details
- 
createElement
protected TooltipViewElement createElement(com.foreach.across.modules.web.ui.ViewElementBuilderContext builderContext) - Specified by:
 createElementin classcom.foreach.across.modules.web.ui.ViewElementBuilderSupport<TooltipViewElement,TooltipViewElementBuilder> 
 - 
text
Set the tooltip text.- Returns:
 this.
 - 
icon
Set the icon that should be used. Defaults to a question mark.- Returns:
 this.
 - 
tagName
Set a custom tag for the tooltip element.- Returns:
 this.
 
 -