Package com.github.tommyettinger.textra
Class TypingTooltip
java.lang.Object
com.badlogic.gdx.scenes.scene2d.InputListener
com.badlogic.gdx.scenes.scene2d.ui.Tooltip<TypingLabel>
com.github.tommyettinger.textra.TypingTooltip
- All Implemented Interfaces:
com.badlogic.gdx.scenes.scene2d.EventListener
A tooltip that shows a TypingLabel.
-
Constructor Summary
ConstructorDescriptionTypingTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.Skin skin) TypingTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, Font replacementFont) TypingTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, String styleName) TypingTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, String styleName, Font replacementFont) TypingTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, com.badlogic.gdx.scenes.scene2d.ui.Skin skin) TypingTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, Font replacementFont) TypingTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, String styleName) TypingTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, com.badlogic.gdx.scenes.scene2d.ui.Skin skin, String styleName, Font replacementFont) TypingTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, Styles.TextTooltipStyle style) TypingTooltip
(String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, Styles.TextTooltipStyle style, Font replacementFont) TypingTooltip
(String text, Styles.TextTooltipStyle style) TypingTooltip
(String text, Styles.TextTooltipStyle style, Font replacementFont) -
Method Summary
Modifier and TypeMethodDescriptionvoid
enter
(com.badlogic.gdx.scenes.scene2d.InputEvent event, float x, float y, int pointer, com.badlogic.gdx.scenes.scene2d.Actor fromActor) protected TypingLabel
protected TypingLabel
protected TypingLabel
newLabel
(String text, Styles.LabelStyle style) protected TypingLabel
newLabel
(String text, Styles.LabelStyle style, Font font) void
setStyle
(Styles.TextTooltipStyle style) void
setStyle
(Styles.TextTooltipStyle style, Font font) Methods inherited from class com.badlogic.gdx.scenes.scene2d.ui.Tooltip
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
-
TypingTooltip
-
TypingTooltip
-
TypingTooltip
-
TypingTooltip
public TypingTooltip(@Null String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, com.badlogic.gdx.scenes.scene2d.ui.Skin skin) -
TypingTooltip
-
TypingTooltip
public TypingTooltip(@Null String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, Styles.TextTooltipStyle style) -
TypingTooltip
-
TypingTooltip
-
TypingTooltip
-
TypingTooltip
-
TypingTooltip
-
TypingTooltip
public TypingTooltip(@Null String text, com.badlogic.gdx.scenes.scene2d.ui.TooltipManager manager, Styles.TextTooltipStyle style, Font replacementFont)
-
-
Method Details
-
newLabel
-
newLabel
-
newLabel
-
newLabel
-
setStyle
-
setStyle
-
enter
public void enter(com.badlogic.gdx.scenes.scene2d.InputEvent event, float x, float y, int pointer, com.badlogic.gdx.scenes.scene2d.Actor fromActor) - Overrides:
enter
in classcom.badlogic.gdx.scenes.scene2d.ui.Tooltip<TypingLabel>
-