Android SDK Version
  • java.lang.Object
    • com.facebook.login.widget.ToolTipPopup

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

DEFAULT_POPUP_DISPLAY_TIME

public static final long DEFAULT_POPUP_DISPLAY_TIME
The default time that the tool tip will be displayed
Constructor Detail

ToolTipPopup

public ToolTipPopup(java.lang.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

public void setStyle(ToolTipPopup.Style mStyle)
Sets the ToolTipPopup.Style of this tool tip.
Parameters:
mStyle - the style for the tool tip

show

public void show()
Display this tool tip to the user

setNuxDisplayTime

public void setNuxDisplayTime(long displayTime)
Set the time (in milliseconds) the tool tip will be displayed. Any number less than or equal to 0 will cause the tool tip to be displayed indefinitely
Parameters:
displayTime - The amount of time (in milliseconds) to display the tool tip

dismiss

public void dismiss()
Dismiss the tool tip