Package com.github.tommyettinger.textra
Class TextraTooltip
java.lang.Object
com.badlogic.gdx.scenes.scene2d.InputListener
com.badlogic.gdx.scenes.scene2d.ui.Tooltip<TextraLabel>
com.github.tommyettinger.textra.TextraTooltip
- All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.EventListener
A tooltip that shows a TextraLabel.
-
Constructor Summary
ConstructorDescriptionTextraTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.Skin skin) TextraTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, Font replacementFont) TextraTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, String styleName) TextraTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, String styleName, Font replacementFont) TextraTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, com.badlogic.gdx.scenes.scene2d.ui.Skin skin) TextraTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, Font replacementFont) TextraTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, String styleName) TextraTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, String styleName, Font replacementFont) TextraTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, Styles.TextTooltipStyle style) TextraTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, Styles.TextTooltipStyle style, Font replacementFont) TextraTooltip
(String text, Styles.TextTooltipStyle style) TextraTooltip
(String text, Styles.TextTooltipStyle style, Font replacementFont) -
Method Summary
Modifier and TypeMethodDescriptionprotected TextraLabel
protected TextraLabel
protected TextraLabel
newLabel
(String text, Styles.LabelStyle style) protected TextraLabel
newLabel
(String text, Styles.LabelStyle style, Font font) void
setStyle
(Styles.TextTooltipStyle style) void
setStyle
(Styles.TextTooltipStyle style, Font font) void
Does nothing unless the label used here is a TypingLabel; then, this will skip text progression ahead.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
-
TextraTooltip
-
TextraTooltip
-
TextraTooltip
-
TextraTooltip
public TextraTooltip(@Null String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, com.badlogic.gdx.scenes.scene2d.ui.Skin skin) -
TextraTooltip
-
TextraTooltip
public TextraTooltip(@Null String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, Styles.TextTooltipStyle style) -
TextraTooltip
-
TextraTooltip
-
TextraTooltip
-
TextraTooltip
-
TextraTooltip
-
TextraTooltip
public TextraTooltip(@Null String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, Styles.TextTooltipStyle style, Font replacementFont)
-
-
Method Details
-
newLabel
-
newLabel
-
newLabel
-
newLabel
-
setStyle
-
setStyle
-
skipToTheEnd
public void skipToTheEnd()Does nothing unless the label used here is a TypingLabel; then, this will skip text progression ahead.
-