Class OwnTextHotkeyTooltip

java.lang.Object
com.badlogic.gdx.scenes.scene2d.InputListener
com.badlogic.gdx.scenes.scene2d.ui.Tooltip<com.badlogic.gdx.scenes.scene2d.ui.Table>
gaiasky.util.scene2d.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(String text, String hotkey, com.badlogic.gdx.scenes.scene2d.ui.Skin skin)
     
    OwnTextHotkeyTooltip(String text, String hotkey, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, int breakSpaces)
     
    OwnTextHotkeyTooltip(String text, 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

    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, setTouchIndependent, 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 Details

    • OwnTextHotkeyTooltip

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

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

      public OwnTextHotkeyTooltip(String text, 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 Details

    • setStyle

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