public class Popover extends HoverBase
Tooltip
HasWidgets.ForIsWidget
animated, container, hideDelayInMilliseconds, placement, showDelayInMilliseconds, trigger
widget
Constructor and Description |
---|
Popover()
Creates an empty Popover.
|
Modifier and Type | Method and Description |
---|---|
static void |
changeVisibility(Element e,
String visibility)
Change Visibility
|
protected void |
changeVisibility(VisibilityChange visibilityChange)
Changes the visibility of the widget.
|
protected String |
getDataName()
Get data name of JS Data API.
|
String |
getHeading() |
String |
getText() |
boolean |
isHtml() |
void |
reconfigure()
Redraws the widget with the currently set options.
|
protected void |
removeDataIfExists(Element e,
String dataName) |
void |
setHeading(String heading) |
void |
setHtml(boolean html) |
void |
setText(String content) |
asWidget, getAnimation, getContainer, getHideDelay, getPlacement, getShowDelay, getTrigger, hide, removeDataIfExists, setAnimation, setContainer, setDataAttribute, setHideDelay, setPlacement, setShowDelay, setTrigger, show, toggle
add, add, clear, getId, getWidget, iterator, remove, setId, setWidget, setWidget
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, clear, iterator, remove
getWidget, setWidget
setWidget
public Popover()
public void setHeading(String heading)
public String getHeading()
public void reconfigure()
reconfigure
in class HoverBase
protected void changeVisibility(VisibilityChange visibilityChange)
changeVisibility
in class HoverBase
visibilityChange
- the action to be performedpublic static void changeVisibility(Element e, String visibility)
e
- targetvisibility
- please use VisibilityChange enum.protected String getDataName()
HoverBase
getDataName
in class HoverBase
public boolean isHtml()
public void setHtml(boolean html)
protected void removeDataIfExists(Element e, String dataName)
removeDataIfExists
in class HoverBase
Copyright © 2012-2014 gwtbootstrap. All Rights Reserved.