|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.badlogic.gdx.scenes.scene2d.ui.tablelayout.TableLayout
public class TableLayout
Field Summary | |
---|---|
TextureAtlas |
atlas
The atlas to use to find texture regions. |
Constructor Summary | |
---|---|
TableLayout()
|
|
TableLayout(LibgdxToolkit toolkit)
|
Method Summary | |
---|---|
void |
drawDebug(SpriteBatch batch)
|
Actor |
getWidget(java.lang.String name)
|
void |
invalidate()
Invalidates the layout, forcing the next call to layout() to relayout. |
void |
invalidateHierarchy()
Invalides the layout of this widget and every parent widget to the root of the hierarchy. |
void |
layout()
|
Actor |
register(Actor actor)
Calls #register(String, Actor) with the name of the actor. |
Actor |
registerImage(java.lang.String name)
Finds the texture region in the atlas , creates an Image and registers it with the specified name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public TextureAtlas atlas
Constructor Detail |
---|
public TableLayout()
public TableLayout(LibgdxToolkit toolkit)
Method Detail |
---|
public Actor register(Actor actor)
#register(String, Actor)
with the name of the actor.
public Actor registerImage(java.lang.String name)
atlas
, creates an Image
and registers it with the specified name.
public Actor getWidget(java.lang.String name)
public void layout()
public void invalidate()
layout()
to relayout. If a widget is resized or otherwise changed
in a way that affects its layout, invalidate()
should be called.
public void invalidateHierarchy()
public void drawDebug(SpriteBatch batch)
|
libgdx API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |