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
ConstructorDescriptionOwnTextHotkeyTooltip
(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 TypeMethodDescriptionvoid
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
-
Constructor Details
-
OwnTextHotkeyTooltip
-
OwnTextHotkeyTooltip
-
OwnTextHotkeyTooltip
-
-
Method Details
-
setStyle
public void setStyle(com.badlogic.gdx.scenes.scene2d.ui.TextTooltip.TextTooltipStyle style)
-