public class TooltipMixin<H extends com.google.gwt.user.client.ui.Widget & HasTooltip> extends Object implements HasTooltip
MaterialTooltip component.HasTooltip,
MaterialWidget| Modifier and Type | Field and Description |
|---|---|
protected MaterialTooltip |
tooltip |
| Constructor and Description |
|---|
TooltipMixin(H uiObject) |
| Modifier and Type | Method and Description |
|---|---|
String |
getTooltip() |
int |
getTooltipDelayMs() |
String |
getTooltipHTML() |
Position |
getTooltipPosition() |
protected void |
initialize() |
void |
setTooltip(String text)
Sets the tooltip text to be shown for the component.
|
void |
setTooltipDelayMs(int delayMs)
Sets the time in ms to show the tooltip text for the component
|
void |
setTooltipHTML(String html) |
void |
setTooltipPosition(Position position)
Sets the
Position where the tooltip text should appear, relative
to the component. |
void |
setUiObject(H uiObject) |
protected MaterialTooltip tooltip
public TooltipMixin(H uiObject)
public void setUiObject(H uiObject)
protected void initialize()
public String getTooltip()
getTooltip in interface HasTooltippublic void setTooltip(String text)
HasTooltipsetTooltip in interface HasTooltippublic Position getTooltipPosition()
getTooltipPosition in interface HasTooltippublic void setTooltipPosition(Position position)
HasTooltipPosition where the tooltip text should appear, relative
to the component.setTooltipPosition in interface HasTooltippublic int getTooltipDelayMs()
getTooltipDelayMs in interface HasTooltippublic void setTooltipDelayMs(int delayMs)
HasTooltipsetTooltipDelayMs in interface HasTooltippublic void setTooltipHTML(String html)
setTooltipHTML in interface HasTooltippublic String getTooltipHTML()
getTooltipHTML in interface HasTooltipCopyright © 2018. All rights reserved.