public class Tooltip extends HoverBase
Technically it's an html <a> tag. The text of the popup will be the
content of the anchor's title attribute.
PopoverHasWidgets.ForIsWidgetanimated, container, hideDelayInMilliseconds, placement, showDelayInMilliseconds, triggerwidget| Constructor and Description |
|---|
Tooltip()
Creates an empty link without text and tooltip text.
|
Tooltip(String tooltip)
Creates a link with the
|
| Modifier and Type | Method and Description |
|---|---|
static void |
changeVisibility(Element e,
String visibility) |
protected void |
changeVisibility(VisibilityChange visibilityChange)
Changes the visibility of the widget.
|
static void |
configure(Element element,
boolean animated,
String placement,
String trigger,
int showDelay,
int hideDelay,
String container) |
static void |
configure(String selector,
String text,
boolean animated,
String placement,
String trigger,
int showDelay,
int hideDelay,
String container) |
static void |
configure(Widget e,
boolean animated,
Placement placement,
Trigger trigger,
int showDelay,
int hideDelay,
String container) |
protected String |
getDataName()
Get data name of JS Data API.
|
String |
getText() |
void |
reconfigure()
Redraws the widget with the currently set options.
|
protected void |
removeDataIfExists(Element e,
String dataName) |
void |
setText(String tooltop)
Sets the text that should appear in the tooltip.
|
asWidget, getAnimation, getContainer, getHideDelay, getPlacement, getShowDelay, getTrigger, hide, removeDataIfExists, setAnimation, setContainer, setDataAttribute, setHideDelay, setPlacement, setShowDelay, setTrigger, show, toggleadd, add, clear, getId, getWidget, iterator, remove, setId, setWidget, setWidgetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadd, clear, iterator, removegetWidget, setWidgetsetWidgetpublic Tooltip()
public void setText(String tooltop)
tooltop - the textpublic void reconfigure()
reconfigure in class HoverBaseprotected void changeVisibility(VisibilityChange visibilityChange)
changeVisibility in class HoverBasevisibilityChange - the action to be performedpublic static void configure(Widget e, boolean animated, Placement placement, Trigger trigger, int showDelay, int hideDelay, String container)
e - animated - placement - trigger - showDelay - hideDelay - public static void configure(String selector, String text, boolean animated, String placement, String trigger, int showDelay, int hideDelay, String container)
public static void configure(Element element, boolean animated, String placement, String trigger, int showDelay, int hideDelay, String container)
public static void changeVisibility(Element e, String visibility)
protected String getDataName()
getDataName in class HoverBaseprotected void removeDataIfExists(Element e, String dataName)
removeDataIfExists in class HoverBaseCopyright © 2012-2014 gwtbootstrap. All Rights Reserved.