Android SDK Version


public class ToolTipPopup
This displays a popup tool tip for a specified view.
Nested Class Summary
Modifier and TypeClassDescription
public enumToolTipPopup.Style
The values here describe the styles available for the tool tip class.
Field Summary
Modifier and TypeFieldDescription
public final static longDEFAULT_POPUP_DISPLAY_TIME
Constructor Summary
ConstructorDescription
ToolTipPopup(String text, View anchor)Create a new ToolTipPopup
Method Summary
Modifier and TypeMethodDescription
voidsetStyle(ToolTipPopup.Style mStyle) Sets the Style of this tool tip.
voidshow() Display this tool tip to the user
voidsetNuxDisplayTime(long displayTime) Set the time (in milliseconds) the tool tip will be displayed.
voiddismiss() Dismiss the tool tip
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail

ToolTipPopup

ToolTipPopup(String text, View anchor)
Create a new ToolTipPopup
Parameters:
text - The text to be displayed in the tool tip
anchor - The view to anchor this tool tip to.
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