Package com.github.tommyettinger.textra
Class Styles.TextButtonStyle
java.lang.Object
com.badlogic.gdx.scenes.scene2d.ui.Button.ButtonStyle
com.github.tommyettinger.textra.Styles.TextButtonStyle
- Direct Known Subclasses:
Styles.CheckBoxStyle
,Styles.ImageTextButtonStyle
- Enclosing class:
- Styles
public static class Styles.TextButtonStyle
extends com.badlogic.gdx.scenes.scene2d.ui.Button.ButtonStyle
The style for a text button, see
TextraButton
or TypingButton
.-
Field Summary
Modifier and TypeFieldDescriptioncom.badlogic.gdx.graphics.Color
com.badlogic.gdx.graphics.Color
com.badlogic.gdx.graphics.Color
com.badlogic.gdx.graphics.Color
com.badlogic.gdx.graphics.Color
com.badlogic.gdx.graphics.Color
com.badlogic.gdx.graphics.Color
com.badlogic.gdx.graphics.Color
com.badlogic.gdx.graphics.Color
Fields inherited from class com.badlogic.gdx.scenes.scene2d.ui.Button.ButtonStyle
checked, checkedDown, checkedFocused, checkedOffsetX, checkedOffsetY, checkedOver, disabled, down, focused, over, pressedOffsetX, pressedOffsetY, unpressedOffsetX, unpressedOffsetY, up
-
Constructor Summary
ConstructorDescriptionTextButtonStyle
(com.badlogic.gdx.scenes.scene2d.ui.TextButton.TextButtonStyle style) TextButtonStyle
(com.badlogic.gdx.scenes.scene2d.utils.Drawable up, com.badlogic.gdx.scenes.scene2d.utils.Drawable down, com.badlogic.gdx.scenes.scene2d.utils.Drawable checked, com.badlogic.gdx.graphics.g2d.BitmapFont font) TextButtonStyle
(com.badlogic.gdx.scenes.scene2d.utils.Drawable up, com.badlogic.gdx.scenes.scene2d.utils.Drawable down, com.badlogic.gdx.scenes.scene2d.utils.Drawable checked, Font font) -
Method Summary
-
Field Details
-
font
-
fontColor
@Null public com.badlogic.gdx.graphics.Color fontColor -
downFontColor
@Null public com.badlogic.gdx.graphics.Color downFontColor -
overFontColor
@Null public com.badlogic.gdx.graphics.Color overFontColor -
focusedFontColor
@Null public com.badlogic.gdx.graphics.Color focusedFontColor -
disabledFontColor
@Null public com.badlogic.gdx.graphics.Color disabledFontColor -
checkedFontColor
@Null public com.badlogic.gdx.graphics.Color checkedFontColor -
checkedDownFontColor
@Null public com.badlogic.gdx.graphics.Color checkedDownFontColor -
checkedOverFontColor
@Null public com.badlogic.gdx.graphics.Color checkedOverFontColor -
checkedFocusedFontColor
@Null public com.badlogic.gdx.graphics.Color checkedFocusedFontColor
-
-
Constructor Details
-
TextButtonStyle
public TextButtonStyle() -
TextButtonStyle
public TextButtonStyle(@Null com.badlogic.gdx.scenes.scene2d.utils.Drawable up, @Null com.badlogic.gdx.scenes.scene2d.utils.Drawable down, @Null com.badlogic.gdx.scenes.scene2d.utils.Drawable checked, @Null Font font) -
TextButtonStyle
public TextButtonStyle(@Null com.badlogic.gdx.scenes.scene2d.utils.Drawable up, @Null com.badlogic.gdx.scenes.scene2d.utils.Drawable down, @Null com.badlogic.gdx.scenes.scene2d.utils.Drawable checked, @Null com.badlogic.gdx.graphics.g2d.BitmapFont font) -
TextButtonStyle
-
TextButtonStyle
public TextButtonStyle(com.badlogic.gdx.scenes.scene2d.ui.TextButton.TextButtonStyle style)
-