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 HasTooltip
public void setTooltip(String text)
HasTooltip
setTooltip
in interface HasTooltip
public Position getTooltipPosition()
getTooltipPosition
in interface HasTooltip
public void setTooltipPosition(Position position)
HasTooltip
Position
where the tooltip text should appear, relative
to the component.setTooltipPosition
in interface HasTooltip
public int getTooltipDelayMs()
getTooltipDelayMs
in interface HasTooltip
public void setTooltipDelayMs(int delayMs)
HasTooltip
setTooltipDelayMs
in interface HasTooltip
public void setTooltipHTML(String html)
setTooltipHTML
in interface HasTooltip
public String getTooltipHTML()
getTooltipHTML
in interface HasTooltip
Copyright © 2018. All rights reserved.