com.badlogic.gdx.scenes.scene2d.ui
Class TextButton.TextButtonStyle

java.lang.Object
  extended by com.badlogic.gdx.scenes.scene2d.ui.Button.ButtonStyle
      extended by com.badlogic.gdx.scenes.scene2d.ui.TextButton.TextButtonStyle
Direct Known Subclasses:
CheckBox.CheckBoxStyle, ImageTextButton.ImageTextButtonStyle
Enclosing class:
TextButton

public static class TextButton.TextButtonStyle
extends Button.ButtonStyle

The style for a text button, see TextButton.

Author:
Nathan Sweet

Field Summary
 Color checkedFontColor
          Optional.
 Color checkedOverFontColor
          Optional.
 Color disabledFontColor
          Optional.
 Color downFontColor
          Optional.
 BitmapFont font
           
 Color fontColor
          Optional.
 Color overFontColor
          Optional.
 
Fields inherited from class com.badlogic.gdx.scenes.scene2d.ui.Button.ButtonStyle
checked, checkedOver, disabled, down, over, pressedOffsetX, pressedOffsetY, unpressedOffsetX, unpressedOffsetY, up
 
Constructor Summary
TextButton.TextButtonStyle()
           
TextButton.TextButtonStyle(Drawable up, Drawable down, Drawable checked, BitmapFont font)
           
TextButton.TextButtonStyle(TextButton.TextButtonStyle style)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

font

public BitmapFont font

fontColor

public Color fontColor
Optional.


downFontColor

public Color downFontColor
Optional.


overFontColor

public Color overFontColor
Optional.


checkedFontColor

public Color checkedFontColor
Optional.


checkedOverFontColor

public Color checkedOverFontColor
Optional.


disabledFontColor

public Color disabledFontColor
Optional.

Constructor Detail

TextButton.TextButtonStyle

public TextButton.TextButtonStyle()

TextButton.TextButtonStyle

public TextButton.TextButtonStyle(Drawable up,
                                  Drawable down,
                                  Drawable checked,
                                  BitmapFont font)

TextButton.TextButtonStyle

public TextButton.TextButtonStyle(TextButton.TextButtonStyle style)


Copyright © 2013. All Rights Reserved.