Package gaiasky.util.scene2d
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(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
-
-
-
-
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)
-
-