Class OwnTextHotkeyTooltip

  • All Implemented Interfaces:
    com.badlogic.gdx.scenes.scene2d.EventListener

    public class OwnTextHotkeyTooltip
    extends com.badlogic.gdx.scenes.scene2d.ui.Tooltip<com.badlogic.gdx.scenes.scene2d.ui.Table>
    A tooltip that shows a label and a hotkey shortcut in gray.
    • Constructor Summary

      Constructors 
      Constructor Description
      OwnTextHotkeyTooltip​(java.lang.String text, java.lang.String hotkey, com.badlogic.gdx.scenes.scene2d.ui.Skin skin)  
      OwnTextHotkeyTooltip​(java.lang.String text, java.lang.String hotkey, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, int breakSpaces)  
      OwnTextHotkeyTooltip​(java.lang.String text, java.lang.String hotkey, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, com.badlogic.gdx.scenes.scene2d.ui.TextTooltip.TextTooltipStyle style, int breakSpaces)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setStyle​(com.badlogic.gdx.scenes.scene2d.ui.TextTooltip.TextTooltipStyle style)  
      • Methods inherited from class com.badlogic.gdx.scenes.scene2d.ui.Tooltip

        enter, exit, getActor, getContainer, getManager, hide, mouseMoved, setActor, setAlways, setInstant, touchDown
      • Methods inherited from class com.badlogic.gdx.scenes.scene2d.InputListener

        handle, keyDown, keyTyped, keyUp, scrolled, touchDragged, touchUp
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • OwnTextHotkeyTooltip

        public OwnTextHotkeyTooltip​(java.lang.String text,
                                    java.lang.String hotkey,
                                    com.badlogic.gdx.scenes.scene2d.ui.Skin skin,
                                    int breakSpaces)
      • OwnTextHotkeyTooltip

        public OwnTextHotkeyTooltip​(java.lang.String text,
                                    java.lang.String hotkey,
                                    com.badlogic.gdx.scenes.scene2d.ui.Skin skin)
      • OwnTextHotkeyTooltip

        public OwnTextHotkeyTooltip​(java.lang.String text,
                                    java.lang.String hotkey,
                                    com.badlogic.gdx.scenes.scene2d.ui.Skin skin,
                                    com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager,
                                    com.badlogic.gdx.scenes.scene2d.ui.TextTooltip.TextTooltipStyle style,
                                    int breakSpaces)
    • Method Detail

      • setStyle

        public void setStyle​(com.badlogic.gdx.scenes.scene2d.ui.TextTooltip.TextTooltipStyle style)