Java com.badlogic.gdx.scenes.scene2d.ui Container fields, constructors, methods, implement or subclass

Example usage for Java com.badlogic.gdx.scenes.scene2d.ui Container fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.badlogic.gdx.scenes.scene2d.ui Container.

The text is from its open source code.

Subclass

com.badlogic.gdx.scenes.scene2d.ui.Container has subclasses.
Click this link to see all its subclasses.

Field

ValuepadTop
floatfillX
intalign
Drawablebackground

Constructor

Container()
Creates a container with no actor.
Container(T actor)

Method

Containerfill(boolean fill)
Sets fillX and fillY to 1 if true, 0 if false.
TgetActor()
floatgetMaxWidth()
Containerheight(Value height)
Sets the minHeight, prefHeight, and maxHeight to the specified value.
Containerheight(float height)
Sets the minHeight, prefHeight, and maxHeight to the specified value.
Containerright()
Sets Align#right and clears Align#left for the alignment of the actor within the container.
voidsetActor(T actor)
voidsetBackground(Drawable background)
Sets the background drawable and adjusts the container's padding to match the background.
voidsetClip(boolean enabled)
Causes the contents to be clipped if they exceed the container bounds.
Containersize(Value size)
Sets the minWidth, prefWidth, maxWidth, minHeight, prefHeight, and maxHeight to the specified value.
Containersize(float size)
Sets the minWidth, prefWidth, maxWidth, minHeight, prefHeight, and maxHeight to the specified value.
Containerwidth(Value width)
Sets the minWidth, prefWidth, and maxWidth to the specified value.
Containerwidth(float width)
Sets the minWidth, prefWidth, and maxWidth to the specified value.