Uses of Interface
com.badlogic.gdx.scenes.scene2d.utils.Drawable
-
Packages that use Drawable Package Description 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 Modifier and Type Field Description DrawableLabel.LabelStyle. backgroundDrawableList.ListStyle. backgroundDrawableProgressBar.ProgressBarStyle. backgroundThe progress bar background, stretched only in one direction.DrawableScrollPane.ScrollPaneStyle. backgroundDrawableSelectBox.SelectBoxStyle. backgroundDrawableTextField.TextFieldStyle. backgroundDrawableTextTooltip.TextTooltipStyle. backgroundDrawableTouchpad.TouchpadStyle. backgroundStretched in both directions.DrawableTree.TreeStyle. backgroundDrawableWindow.WindowStyle. backgroundDrawableSelectBox.SelectBoxStyle. backgroundDisabledDrawableSlider.SliderStyle. backgroundDownDrawableSelectBox.SelectBoxStyle. backgroundOpenDrawableSelectBox.SelectBoxStyle. backgroundOverDrawableSlider.SliderStyle. backgroundOverDrawableCheckBox.CheckBoxStyle. checkboxOffDrawableCheckBox.CheckBoxStyle. checkboxOffDisabledDrawableCheckBox.CheckBoxStyle. checkboxOnDrawableCheckBox.CheckBoxStyle. checkboxOnDisabledDrawableCheckBox.CheckBoxStyle. checkboxOnOverDrawableCheckBox.CheckBoxStyle. checkboxOverDrawableButton.ButtonStyle. checkedDrawableButton.ButtonStyle. checkedDownDrawableButton.ButtonStyle. checkedFocusedDrawableButton.ButtonStyle. checkedOverDrawableScrollPane.ScrollPaneStyle. cornerDrawableTextField.TextFieldStyle. cursorDrawableButton.ButtonStyle. disabledDrawableProgressBar.ProgressBarStyle. disabledBackgroundThe progress bar background, stretched only in one direction.DrawableTextField.TextFieldStyle. disabledBackgroundDrawableProgressBar.ProgressBarStyle. disabledKnobDrawableProgressBar.ProgressBarStyle. disabledKnobAfterDrawableProgressBar.ProgressBarStyle. disabledKnobBeforeDrawableButton.ButtonStyle. downDrawableList.ListStyle. downDrawableButton.ButtonStyle. focusedDrawableTextField.TextFieldStyle. focusedBackgroundDrawableSplitPane.SplitPaneStyle. handleDrawableScrollPane.ScrollPaneStyle. hScrollDrawableScrollPane.ScrollPaneStyle. hScrollKnobDrawableImageButton.ImageButtonStyle. imageCheckedDrawableImageTextButton.ImageTextButtonStyle. imageCheckedDrawableImageButton.ImageButtonStyle. imageCheckedDownDrawableImageTextButton.ImageTextButtonStyle. imageCheckedDownDrawableImageButton.ImageButtonStyle. imageCheckedOverDrawableImageTextButton.ImageTextButtonStyle. imageCheckedOverDrawableImageButton.ImageButtonStyle. imageDisabledDrawableImageTextButton.ImageTextButtonStyle. imageDisabledDrawableImageButton.ImageButtonStyle. imageDownDrawableImageTextButton.ImageTextButtonStyle. imageDownDrawableImageButton.ImageButtonStyle. imageOverDrawableImageTextButton.ImageTextButtonStyle. imageOverDrawableImageButton.ImageButtonStyle. imageUpDrawableImageTextButton.ImageTextButtonStyle. imageUpDrawableProgressBar.ProgressBarStyle. knobDrawableTouchpad.TouchpadStyle. knobDrawableProgressBar.ProgressBarStyle. knobAfterDrawableSlider.SliderStyle. knobAfterDownDrawableSlider.SliderStyle. knobAfterOverDrawableProgressBar.ProgressBarStyle. knobBeforeDrawableSlider.SliderStyle. knobBeforeDownDrawableSlider.SliderStyle. knobBeforeOverDrawableSlider.SliderStyle. knobDownDrawableSlider.SliderStyle. knobOverDrawableTree.TreeStyle. minusDrawableTree.TreeStyle. minusOverDrawableButton.ButtonStyle. overDrawableList.ListStyle. overDrawableTree.TreeStyle. overDrawableTree.TreeStyle. plusDrawableTree.TreeStyle. plusOverDrawableList.ListStyle. selectionDrawableTextField.TextFieldStyle. selectionDrawableTree.TreeStyle. selectionDrawableWindow.WindowStyle. stageBackgroundDrawableButton.ButtonStyle. upDrawableScrollPane.ScrollPaneStyle. vScrollDrawableScrollPane.ScrollPaneStyle. vScrollKnobMethods in com.badlogic.gdx.scenes.scene2d.ui that return Drawable Modifier and Type Method Description DrawableContainer. getBackground()DrawableTable. getBackground()protected DrawableButton. getBackgroundDrawable()Returns appropriate background drawable from the style based on the current button state.protected DrawableProgressBar. getBackgroundDrawable()protected DrawableSelectBox. getBackgroundDrawable()Returns appropriate background drawable from the style based on the current select box state.protected DrawableSlider. getBackgroundDrawable()protected DrawableTextField. getBackgroundDrawable()DrawableImage. getDrawable()DrawableSkin. getDrawable(java.lang.String name)Returns a registered drawable.protected DrawableTree. getExpandIcon(N node, float iconX)Returns the drawable for the expand icon.DrawableTree.Node. getIcon()protected DrawableCheckBox. getImageDrawable()protected DrawableImageButton. getImageDrawable()Returns the appropriate image drawable from the style based on the current button state.protected DrawableImageTextButton. getImageDrawable()Returns the appropriate image drawable from the style based on the current button state.protected DrawableProgressBar. getKnobAfterDrawable()protected DrawableSlider. getKnobAfterDrawable()protected DrawableProgressBar. getKnobBeforeDrawable()protected DrawableSlider. getKnobBeforeDrawable()protected DrawableProgressBar. getKnobDrawable()protected DrawableSlider. getKnobDrawable()DrawableSkin. newDrawable(Drawable drawable)Returns a copy of the specified drawable.DrawableSkin. newDrawable(Drawable drawable, float r, float g, float b, float a)Returns a tinted copy of a drawable found in the skin viaSkin.getDrawable(String).DrawableSkin. newDrawable(Drawable drawable, Color tint)Returns a tinted copy of a drawable found in the skin viaSkin.getDrawable(String).DrawableSkin. newDrawable(java.lang.String name)Returns a copy of a drawable found in the skin viaSkin.getDrawable(String).DrawableSkin. newDrawable(java.lang.String name, float r, float g, float b, float a)Returns a tinted copy of a drawable found in the skin viaSkin.getDrawable(String).DrawableSkin. newDrawable(java.lang.String name, Color tint)Returns a tinted copy of a drawable found in the skin viaSkin.getDrawable(String).Methods in com.badlogic.gdx.scenes.scene2d.ui with parameters of type Drawable Modifier and Type Method Description Container<T>Container. background(Drawable background)TableTable. background(Drawable background)protected voidTextArea. drawCursor(Drawable cursorPatch, Batch batch, BitmapFont font, float x, float y)protected voidTextField. drawCursor(Drawable cursorPatch, Batch batch, BitmapFont font, float x, float y)protected voidTree. drawExpandIcon(N node, Drawable expandIcon, Batch batch, float x, float y)protected voidTree. drawIcon(N node, Drawable icon, Batch batch, float x, float y)protected voidTree. drawOver(N node, Drawable over, Batch batch, float x, float y, float width, float height)protected voidList. drawSelection(Batch batch, Drawable drawable, float x, float y, float width, float height)protected voidTextArea. drawSelection(Drawable selection, Batch batch, BitmapFont font, float x, float y)protected voidTextField. drawSelection(Drawable selection, Batch batch, BitmapFont font, float x, float y)Draws selection rectangleprotected voidTree. drawSelection(N node, Drawable selection, Batch batch, float x, float y, float width, float height)protected floatTextArea. getTextY(BitmapFont font, Drawable background)protected floatTextField. getTextY(BitmapFont font, Drawable background)DrawableSkin. newDrawable(Drawable drawable)Returns a copy of the specified drawable.DrawableSkin. newDrawable(Drawable drawable, float r, float g, float b, float a)Returns a tinted copy of a drawable found in the skin viaSkin.getDrawable(String).DrawableSkin. newDrawable(Drawable drawable, Color tint)Returns a tinted copy of a drawable found in the skin viaSkin.getDrawable(String).voidSkin. scale(Drawable drawble)Scales the drawable'sgetLeftWidth(),getRightWidth(),getBottomHeight(),getTopHeight(),getMinWidth(), andgetMinHeight().voidContainer. setBackground(Drawable background)Sets the background drawable and adjusts the container's padding to match the background.voidContainer. setBackground(Drawable background, boolean adjustPadding)Sets the background drawable and, if adjustPadding is true, sets the container's padding togetBottomHeight(),getTopHeight(),getLeftWidth(), andgetRightWidth().voidTable. setBackground(Drawable background)voidImage. setDrawable(Drawable drawable)Sets a new drawable for the image.voidTree.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 Constructor Description Button(Drawable up)Button(Drawable up, Drawable down)Button(Drawable up, Drawable down, Drawable checked)ButtonStyle(Drawable up, Drawable down, Drawable checked)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(Drawable imageUp)ImageButton(Drawable imageUp, Drawable imageDown)ImageButton(Drawable imageUp, Drawable imageDown, Drawable imageChecked)ImageButtonStyle(Drawable up, Drawable down, Drawable checked, Drawable imageUp, Drawable imageDown, Drawable imageChecked)ImageTextButtonStyle(Drawable up, Drawable down, Drawable checked, BitmapFont font)ListStyle(BitmapFont font, Color fontColorSelected, Color fontColorUnselected, Drawable selection)ProgressBarStyle(Drawable background, Drawable knob)ScrollPaneStyle(Drawable background, Drawable hScroll, Drawable hScrollKnob, Drawable vScroll, Drawable vScrollKnob)SelectBoxStyle(BitmapFont font, Color fontColor, Drawable background, ScrollPane.ScrollPaneStyle scrollStyle, List.ListStyle listStyle)SliderStyle(Drawable background, Drawable knob)SplitPaneStyle(Drawable handle)TextButtonStyle(Drawable up, Drawable down, Drawable checked, BitmapFont font)TextFieldStyle(BitmapFont font, Color fontColor, Drawable cursor, Drawable selection, Drawable background)TextTooltipStyle(Label.LabelStyle label, Drawable background)TouchpadStyle(Drawable background, Drawable knob)TreeStyle(Drawable plus, Drawable minus, Drawable selection)WindowStyle(BitmapFont titleFont, Color titleFontColor, Drawable background) -
Uses of Drawable in com.badlogic.gdx.scenes.scene2d.utils
Subinterfaces of Drawable in com.badlogic.gdx.scenes.scene2d.utils Modifier and Type Interface Description interfaceTransformDrawableA drawable that supports scale and rotation.Classes in com.badlogic.gdx.scenes.scene2d.utils that implement Drawable Modifier and Type Class Description classBaseDrawableDrawable that stores the size information but doesn't draw anything.classNinePatchDrawableDrawable for aNinePatch.classSpriteDrawableDrawable for aSprite.classTextureRegionDrawableDrawable for aTextureRegion.classTiledDrawableDraws aTextureRegionrepeatedly to fill the area, instead of stretching it.Methods in com.badlogic.gdx.scenes.scene2d.utils that return Drawable Modifier and Type Method Description DrawableTextureRegionDrawable. tint(Color tint)Creates a new drawable that renders the same as this drawable tinted the specified color.Constructors in com.badlogic.gdx.scenes.scene2d.utils with parameters of type Drawable Constructor Description BaseDrawable(Drawable drawable)Creates a new empty drawable with the same sizing information as the specified drawable.
-