libgdx API

com.badlogic.gdx.scenes.scene2d.ui
Class TextField.TextFieldStyle

java.lang.Object
  extended by com.badlogic.gdx.scenes.scene2d.ui.TextField.TextFieldStyle
Enclosing class:
TextField

public static class TextField.TextFieldStyle
extends java.lang.Object

The style for a text field, see TextField.

Author:
mzechner, Nathan Sweet

Field Summary
 Drawable background
          Optional.
 Drawable cursor
          Optional.
 Color disabledFontColor
           
 BitmapFont font
           
 Color fontColor
           
 BitmapFont messageFont
          Optional.
 Color messageFontColor
          Optional.
 Drawable selection
          Optional.
 
Constructor Summary
TextField.TextFieldStyle()
           
TextField.TextFieldStyle(BitmapFont font, Color fontColor, Drawable cursor, Drawable selection, Drawable background)
           
TextField.TextFieldStyle(TextField.TextFieldStyle style)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

font

public BitmapFont font

fontColor

public Color fontColor

disabledFontColor

public Color disabledFontColor

background

public Drawable background
Optional.


cursor

public Drawable cursor
Optional.


selection

public Drawable selection
Optional.


messageFont

public BitmapFont messageFont
Optional.


messageFontColor

public Color messageFontColor
Optional.

Constructor Detail

TextField.TextFieldStyle

public TextField.TextFieldStyle()

TextField.TextFieldStyle

public TextField.TextFieldStyle(BitmapFont font,
                                Color fontColor,
                                Drawable cursor,
                                Drawable selection,
                                Drawable background)

TextField.TextFieldStyle

public TextField.TextFieldStyle(TextField.TextFieldStyle style)

libgdx API

Copyright 2010 Mario Zechner (contact@badlogicgames.com), Nathan Sweet (admin@esotericsoftware.com)