Package org.apache.juneau.rest.widget
Class Tooltip
java.lang.Object
org.apache.juneau.rest.widget.Tooltip
Simple template for adding tooltips to HTML5 bean constructs, typically in menu item widgets.
 
 Tooltips depend on the existence of the 
See Also:
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
TooltipConstructor.- Parameters:
- display- The normal display text.
 This is what gets rendered normally.
 The format is raw HTML and can contain markup.
- content- The hover contents.
 Typically a list of strings, but can also include any HTML5 beans as well.
 
 
- 
- 
Method Details- 
swapThe swap method.Converts this bean into a div tag with contents. - Parameters:
- session- The bean session.
- Returns:
- The swapped contents of this bean.
 
 
-