-
public class ToolTipPopup
This displays a popup tool tip for a specified view.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enum
ToolTipPopup.Style
The values here describe the styles available for the tool tip class.
-
Field Summary
Fields Modifier and Type Field Description public final static long
DEFAULT_POPUP_DISPLAY_TIME
-
Constructor Summary
Constructors Constructor Description ToolTipPopup(String text, View anchor)
Create a new ToolTipPopup
-
Method Summary
Modifier and Type Method Description void
setStyle(ToolTipPopup.Style mStyle)
Sets the Style of this tool tip. void
show()
Display this tool tip to the user void
setNuxDisplayTime(long displayTime)
Set the time (in milliseconds) the tool tip will be displayed. void
dismiss()
Dismiss the tool tip -
-
Method Detail
-
setStyle
void setStyle(ToolTipPopup.Style mStyle)
Sets the Style of this tool tip.
- Parameters:
mStyle
- the style for the tool tip
-
show
void show()
Display this tool tip to the user
-
setNuxDisplayTime
void setNuxDisplayTime(long displayTime)
Set the time (in milliseconds) the tool tip will be displayed. Any number less than or equal to0 will cause the tool tip to be displayed indefinitely
- Parameters:
displayTime
- The amount of time (in milliseconds) to display the tool tip
-
dismiss
void dismiss()
Dismiss the tool tip
-
-
-
-