Class Styles.TextFieldStyle

java.lang.Object
com.github.tommyettinger.textra.Styles.TextFieldStyle
Enclosing class:
Styles

public static class Styles.TextFieldStyle extends Object
The style for a text field, see TextraField.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    com.badlogic.gdx.scenes.scene2d.utils.Drawable
     
    com.badlogic.gdx.scenes.scene2d.utils.Drawable
     
    com.badlogic.gdx.scenes.scene2d.utils.Drawable
     
    com.badlogic.gdx.graphics.Color
     
    com.badlogic.gdx.scenes.scene2d.utils.Drawable
     
    com.badlogic.gdx.graphics.Color
     
     
    com.badlogic.gdx.graphics.Color
     
    com.badlogic.gdx.graphics.Color
     
    com.badlogic.gdx.scenes.scene2d.utils.Drawable
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
    TextFieldStyle(com.badlogic.gdx.graphics.g2d.BitmapFont font, com.badlogic.gdx.graphics.Color fontColor, com.badlogic.gdx.scenes.scene2d.utils.Drawable cursor, com.badlogic.gdx.scenes.scene2d.utils.Drawable selection, com.badlogic.gdx.scenes.scene2d.utils.Drawable background)
     
    TextFieldStyle(com.badlogic.gdx.scenes.scene2d.ui.TextField.TextFieldStyle style)
     
    TextFieldStyle(Font font, com.badlogic.gdx.graphics.Color fontColor, com.badlogic.gdx.scenes.scene2d.utils.Drawable cursor, com.badlogic.gdx.scenes.scene2d.utils.Drawable selection, com.badlogic.gdx.scenes.scene2d.utils.Drawable background)
     
     
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • font

      public Font font
    • fontColor

      public com.badlogic.gdx.graphics.Color fontColor
    • focusedFontColor

      @Null public com.badlogic.gdx.graphics.Color focusedFontColor
    • disabledFontColor

      @Null public com.badlogic.gdx.graphics.Color disabledFontColor
    • background

      @Null public com.badlogic.gdx.scenes.scene2d.utils.Drawable background
    • focusedBackground

      @Null public com.badlogic.gdx.scenes.scene2d.utils.Drawable focusedBackground
    • disabledBackground

      @Null public com.badlogic.gdx.scenes.scene2d.utils.Drawable disabledBackground
    • cursor

      @Null public com.badlogic.gdx.scenes.scene2d.utils.Drawable cursor
    • selection

      @Null public com.badlogic.gdx.scenes.scene2d.utils.Drawable selection
    • messageFontColor

      @Null public com.badlogic.gdx.graphics.Color messageFontColor
  • Constructor Details

    • TextFieldStyle

      public TextFieldStyle()
    • TextFieldStyle

      public TextFieldStyle(Font font, com.badlogic.gdx.graphics.Color fontColor, @Null com.badlogic.gdx.scenes.scene2d.utils.Drawable cursor, @Null com.badlogic.gdx.scenes.scene2d.utils.Drawable selection, @Null com.badlogic.gdx.scenes.scene2d.utils.Drawable background)
    • TextFieldStyle

      public TextFieldStyle(com.badlogic.gdx.graphics.g2d.BitmapFont font, com.badlogic.gdx.graphics.Color fontColor, @Null com.badlogic.gdx.scenes.scene2d.utils.Drawable cursor, @Null com.badlogic.gdx.scenes.scene2d.utils.Drawable selection, @Null com.badlogic.gdx.scenes.scene2d.utils.Drawable background)
    • TextFieldStyle

      public TextFieldStyle(Styles.TextFieldStyle style)
    • TextFieldStyle

      public TextFieldStyle(com.badlogic.gdx.scenes.scene2d.ui.TextField.TextFieldStyle style)