Package 

Class ToolTipPopup


  • 
    public final 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.

      public class ToolTipPopup.Companion
    • Method Summary

      Modifier and Type Method Description
      final Unit setStyle(ToolTipPopup.Style style) Sets the Style of this tool tip.
      final Unit show() Display this tool tip to the user
      final Unit setNuxDisplayTime(Long displayTime) Set the time (in milliseconds) the tool tip will be displayed.
      final Unit dismiss() 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)
        Parameters:
        text - The text to be displayed in the tool tip
        anchor - The view to anchor this tool tip to.
    • Method Detail

      • show

         final Unit show()

        Display this tool tip to the user

      • setNuxDisplayTime

         final Unit 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