Example usage for com.badlogic.gdx.scenes.scene2d.ui Label subclass-usage

List of usage examples for com.badlogic.gdx.scenes.scene2d.ui Label subclass-usage

Introduction

In this page you can find the example usage for com.badlogic.gdx.scenes.scene2d.ui Label subclass-usage.

Usage

From source file com.andgate.ikou.utility.Scene2d.ShaderLabel.java

public class ShaderLabel extends Label {
    private ShaderProgram shader;

    public ShaderLabel(CharSequence text, LabelStyle style, ShaderProgram shader) {
        super(text, style);
        this.shader = shader;

From source file com.badlogic.gdx.ai.tests.utils.scene2d.FloatValueLabel.java

/** A label continuously showing the most up-to-date float value prefixed by a constant string.
 * 
 * @author davebaol */
public abstract class FloatValueLabel extends Label {

    float oldValue;

From source file com.badlogic.gdx.ai.tests.utils.scene2d.IntValueLabel.java

/** A label continuously showing the most up-to-date integer value prefixed by a constant string.
 * 
 * @author davebaol */
public abstract class IntValueLabel extends Label {

    int oldValue;

From source file com.bsencan.openchess.model.NextTitle.java

/**
 * Represents a single tile on a chess board.
 * 
 * @author Baris Sencan
 */
public class NextTitle extends Label {

From source file com.jumpbuttonstudios.vikingdodge.ui.ScoreCounterLabel.java

public class ScoreCounterLabel extends Label {

    Player player;

    public ScoreCounterLabel(Player player, LabelStyle style) {
        super(String.format("%06d", player.getScore()), style);

From source file com.jumpbuttonstudios.vikingdodge.ui.StatLabel.java

public class StatLabel extends Label {

    public StatLabel(int stat, LabelStyle style, float x, float y) {
        super(String.valueOf(stat), style);
        setPosition(x - (getStyle().font.getBounds(getText()).width / 2),
                y - (getStyle().font.getBounds(getText()).height / 2));

From source file com.kotcrab.vis.ui.widget.VisLabel.java

/**
 * Compatible with {@link Label}. Does not provide additional features.
 * @author Kotcrab
 * @see Label
 */
public class VisLabel extends Label {

From source file com.mygdx.game.ui.FloatValueLabel.java

/** A label continuously showing the most up-to-date float value prefixed by a constant string.
 * 
 * @author davebaol */
public abstract class FloatValueLabel extends Label {

    float oldValue;

From source file com.mygdx.game.ui.IntValueLabel.java

/** A label continuously showing the most up-to-date integer value prefixed by a constant string.
 * 
 * @author davebaol */
public abstract class IntValueLabel extends Label {

    int oldValue;

From source file com.mygdx.game.ui.ObjectValueLabel.java

/** A label continuously showing the most up-to-date value prefixed by a constant string.
 *
 * @param <T> the type of the value 
 * 
 * @author davebaol */
public abstract class ObjectValueLabel<T> extends Label {