public class ToolTipPopup
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
ToolTipPopup.Style
The values here describe the styles available for the tool tip class.
|
Modifier and Type | Field and Description |
---|---|
static long |
DEFAULT_POPUP_DISPLAY_TIME
The default time that the tool tip will be displayed
|
Constructor and Description |
---|
ToolTipPopup(java.lang.String text,
android.view.View anchor)
Create a new ToolTipPopup
|
Modifier and Type | Method and Description |
---|---|
void |
dismiss()
Dismiss the tool tip
|
void |
setNuxDisplayTime(long displayTime)
Set the time (in milliseconds) the tool tip will be displayed.
|
void |
setStyle(ToolTipPopup.Style mStyle)
Sets the
ToolTipPopup.Style of this tool tip. |
void |
show()
Display this tool tip to the user
|
public static final long DEFAULT_POPUP_DISPLAY_TIME
public ToolTipPopup(java.lang.String text, android.view.View anchor)
text
- The text to be displayed in the tool tipanchor
- The view to anchor this tool tip to.public void setStyle(ToolTipPopup.Style mStyle)
ToolTipPopup.Style
of this tool tip.mStyle
- the style for the tool tippublic void show()
public void setNuxDisplayTime(long displayTime)
displayTime
- The amount of time (in milliseconds) to display the tool tippublic void dismiss()