libgdx API

com.badlogic.gdx.scenes.scene2d.ui
Class Slider.SliderStyle

java.lang.Object
  extended by com.badlogic.gdx.scenes.scene2d.ui.Slider.SliderStyle
Enclosing class:
Slider

public static class Slider.SliderStyle
extends java.lang.Object

The style for a slider, see Slider.

Author:
mzechner, Nathan Sweet

Field Summary
 Drawable background
          The slider background, stretched only in one direction.
 Drawable knob
          Optional, centered on the background.
 Drawable knobAfter
          Optional.
 Drawable knobBefore
          Optional.
 
Constructor Summary
Slider.SliderStyle()
           
Slider.SliderStyle(Drawable background, Drawable knob)
           
Slider.SliderStyle(Slider.SliderStyle style)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

background

public Drawable background
The slider background, stretched only in one direction.


knob

public Drawable knob
Optional, centered on the background.


knobBefore

public Drawable knobBefore
Optional.


knobAfter

public Drawable knobAfter
Optional.

Constructor Detail

Slider.SliderStyle

public Slider.SliderStyle()

Slider.SliderStyle

public Slider.SliderStyle(Drawable background,
                          Drawable knob)

Slider.SliderStyle

public Slider.SliderStyle(Slider.SliderStyle style)

libgdx API

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