Example usage for Java com.badlogic.gdx.scenes.scene2d.ui Container fields, constructors, methods, implement or subclass
The text is from its open source code.
Value | padTop |
float | fillX |
int | align |
Drawable | background |
Container() Creates a container with no actor. | |
Container(T actor) |
Container | fill(boolean fill) Sets fillX and fillY to 1 if true, 0 if false. |
T | getActor() |
float | getMaxWidth() |
Container | height(Value height) Sets the minHeight, prefHeight, and maxHeight to the specified value. |
Container | height(float height) Sets the minHeight, prefHeight, and maxHeight to the specified value. |
Container | right() Sets Align#right and clears Align#left for the alignment of the actor within the container. |
void | setActor(T actor) |
void | setBackground(Drawable background) Sets the background drawable and adjusts the container's padding to match the background. |
void | setClip(boolean enabled) Causes the contents to be clipped if they exceed the container bounds. |
Container | size(Value size) Sets the minWidth, prefWidth, maxWidth, minHeight, prefHeight, and maxHeight to the specified value. |
Container | size(float size) Sets the minWidth, prefWidth, maxWidth, minHeight, prefHeight, and maxHeight to the specified value. |
Container | width(Value width) Sets the minWidth, prefWidth, and maxWidth to the specified value. |
Container | width(float width) Sets the minWidth, prefWidth, and maxWidth to the specified value. |