libgdx API

Uses of Interface
com.badlogic.gdx.scenes.scene2d.utils.Drawable

Packages that use Drawable
com.badlogic.gdx.scenes.scene2d.ui   
com.badlogic.gdx.scenes.scene2d.utils   
 

Uses of Drawable in com.badlogic.gdx.scenes.scene2d.ui
 

Fields in com.badlogic.gdx.scenes.scene2d.ui declared as Drawable
 Drawable Label.LabelStyle.background
          Optional.
 Drawable ScrollPane.ScrollPaneStyle.background
          Optional.
 Drawable SelectBox.SelectBoxStyle.background
           
 Drawable Slider.SliderStyle.background
          The slider background, stretched only in one direction.
 Drawable TextField.TextFieldStyle.background
          Optional.
 Drawable Touchpad.TouchpadStyle.background
          Stretched in both directions.
 Drawable Tree.TreeStyle.background
          Optional.
 Drawable Window.WindowStyle.background
          Optional.
 Drawable SelectBox.SelectBoxStyle.backgroundOpen
          Optional.
 Drawable SelectBox.SelectBoxStyle.backgroundOver
          Optional.
 Drawable CheckBox.CheckBoxStyle.checkboxOff
           
 Drawable CheckBox.CheckBoxStyle.checkboxOn
           
 Drawable CheckBox.CheckBoxStyle.checkboxOver
          Optional.
 Drawable Button.ButtonStyle.checked
          Optional.
 Drawable Button.ButtonStyle.checkedOver
          Optional.
 Drawable ScrollPane.ScrollPaneStyle.corner
          Optional.
 Drawable TextField.TextFieldStyle.cursor
          Optional.
 Drawable Button.ButtonStyle.disabled
          Optional.
 Drawable Button.ButtonStyle.down
          Optional.
 Drawable SplitPane.SplitPaneStyle.handle
           
 Drawable ScrollPane.ScrollPaneStyle.hScroll
          Optional.
 Drawable ScrollPane.ScrollPaneStyle.hScrollKnob
          Optional.
 Drawable ImageButton.ImageButtonStyle.imageChecked
          Optional.
 Drawable ImageTextButton.ImageTextButtonStyle.imageChecked
          Optional.
 Drawable ImageButton.ImageButtonStyle.imageCheckedOver
          Optional.
 Drawable ImageTextButton.ImageTextButtonStyle.imageCheckedOver
          Optional.
 Drawable ImageButton.ImageButtonStyle.imageDisabled
          Optional.
 Drawable ImageTextButton.ImageTextButtonStyle.imageDisabled
          Optional.
 Drawable ImageButton.ImageButtonStyle.imageDown
          Optional.
 Drawable ImageTextButton.ImageTextButtonStyle.imageDown
          Optional.
 Drawable ImageButton.ImageButtonStyle.imageOver
          Optional.
 Drawable ImageTextButton.ImageTextButtonStyle.imageOver
          Optional.
 Drawable ImageButton.ImageButtonStyle.imageUp
          Optional.
 Drawable ImageTextButton.ImageTextButtonStyle.imageUp
          Optional.
 Drawable Slider.SliderStyle.knob
          Optional, centered on the background.
 Drawable Touchpad.TouchpadStyle.knob
          Optional.
 Drawable Slider.SliderStyle.knobAfter
          Optional.
 Drawable Slider.SliderStyle.knobBefore
          Optional.
 Drawable SelectBox.SelectBoxStyle.listBackground
           
 Drawable SelectBox.SelectBoxStyle.listSelection
           
 Drawable Tree.TreeStyle.minus
           
 Drawable Button.ButtonStyle.over
          Optional.
 Drawable Tree.TreeStyle.over
          Optional.
 Drawable Tree.TreeStyle.plus
           
 Drawable List.ListStyle.selection
           
 Drawable TextField.TextFieldStyle.selection
          Optional.
 Drawable Tree.TreeStyle.selection
          Optional.
 Drawable Window.WindowStyle.stageBackground
          Optional.
 Drawable Button.ButtonStyle.up
          Optional.
 Drawable ScrollPane.ScrollPaneStyle.vScroll
          Optional.
 Drawable ScrollPane.ScrollPaneStyle.vScrollKnob
          Optional.
 

Methods in com.badlogic.gdx.scenes.scene2d.ui that return Drawable
 Drawable Table.getBackground()
           
 Drawable Image.getDrawable()
           
 Drawable Skin.getDrawable(java.lang.String name)
          Returns a registered drawable.
 Drawable Tree.Node.getIcon()
           
 Drawable Skin.newDrawable(Drawable drawable)
          Returns a copy of the specified drawable.
 Drawable Skin.newDrawable(Drawable drawable, Color tint)
          Returns a tinted copy of a drawable found in the skin via Skin.getDrawable(String).
 Drawable Skin.newDrawable(Drawable drawable, float r, float g, float b, float a)
          Returns a tinted copy of a drawable found in the skin via Skin.getDrawable(String).
 Drawable Skin.newDrawable(java.lang.String name)
          Returns a copy of a drawable found in the skin via Skin.getDrawable(String).
 Drawable Skin.newDrawable(java.lang.String name, Color tint)
          Returns a tinted copy of a drawable found in the skin via Skin.getDrawable(String).
 Drawable Skin.newDrawable(java.lang.String name, float r, float g, float b, float a)
          Returns a tinted copy of a drawable found in the skin via Skin.getDrawable(String).
 

Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Drawable
 Drawable Skin.newDrawable(Drawable drawable)
          Returns a copy of the specified drawable.
 Drawable Skin.newDrawable(Drawable drawable, Color tint)
          Returns a tinted copy of a drawable found in the skin via Skin.getDrawable(String).
 Drawable Skin.newDrawable(Drawable drawable, float r, float g, float b, float a)
          Returns a tinted copy of a drawable found in the skin via Skin.getDrawable(String).
 void Table.setBackground(Drawable background)
          Sets the background drawable and sets the table's padding to getBottomHeight() , getTopHeight(), getLeftWidth(), and getRightWidth().
 void Image.setDrawable(Drawable drawable)
           
 void Tree.Node.setIcon(Drawable icon)
          Sets an icon that will be drawn to the left of the actor.
 

Constructors in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Drawable
Button.ButtonStyle(Drawable up, Drawable down, Drawable checked)
           
Button(Drawable up)
           
Button(Drawable up, Drawable down)
           
Button(Drawable up, Drawable down, Drawable checked)
           
CheckBox.CheckBoxStyle(Drawable checkboxOff, Drawable checkboxOn, BitmapFont font, Color fontColor)
           
Image(Drawable drawable)
          Creates an image stretched, and aligned center.
Image(Drawable drawable, Scaling scaling)
          Creates an image aligned center.
Image(Drawable drawable, Scaling scaling, int align)
           
ImageButton.ImageButtonStyle(Drawable up, Drawable down, Drawable checked, Drawable imageUp, Drawable imageDown, Drawable imageChecked)
           
ImageButton(Drawable imageUp)
           
ImageButton(Drawable imageUp, Drawable imageDown)
           
ImageButton(Drawable imageUp, Drawable imageDown, Drawable imageChecked)
           
ImageTextButton.ImageTextButtonStyle(Drawable up, Drawable down, Drawable checked)
           
List.ListStyle(BitmapFont font, Color fontColorSelected, Color fontColorUnselected, Drawable selection)
           
ScrollPane.ScrollPaneStyle(Drawable background, Drawable hScroll, Drawable hScrollKnob, Drawable vScroll, Drawable vScrollKnob)
           
SelectBox.SelectBoxStyle(BitmapFont font, Color fontColor, Drawable background, Drawable listBackground, Drawable listSelection)
           
Slider.SliderStyle(Drawable background, Drawable knob)
           
SplitPane.SplitPaneStyle(Drawable handle)
           
TextButton.TextButtonStyle(Drawable up, Drawable down, Drawable checked)
           
TextField.TextFieldStyle(BitmapFont font, Color fontColor, Drawable cursor, Drawable selection, Drawable background)
           
Touchpad.TouchpadStyle(Drawable background, Drawable knob)
           
Tree.TreeStyle(Drawable plus, Drawable minus, Drawable selection)
           
Window.WindowStyle(BitmapFont titleFont, Color titleFontColor, Drawable background)
           
 

Uses of Drawable in com.badlogic.gdx.scenes.scene2d.utils
 

Classes in com.badlogic.gdx.scenes.scene2d.utils that implement Drawable
 class BaseDrawable
          Drawable that stores the size information but doesn't draw anything.
 class NinePatchDrawable
          Drawable for a NinePatch.
 class SpriteDrawable
          Drawable for a Sprite.
 class TextureRegionDrawable
          Drawable for a TextureRegion.
 class TiledDrawable
          Draws a TextureRegion repeatedly to fill the area, instead of stretching it.
 

Constructors in com.badlogic.gdx.scenes.scene2d.utils with parameters of type Drawable
BaseDrawable(Drawable drawable)
          Creates a new empty drawable with the same sizing information as the specified drawable.
 


libgdx API

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