com.badlogic.gdx.scenes.scene2d.ui
Class TableToolkit
java.lang.Object
com.esotericsoftware.tablelayout.Toolkit<Actor,Table,com.badlogic.gdx.scenes.scene2d.ui.TableLayout>
com.badlogic.gdx.scenes.scene2d.ui.TableToolkit
public class TableToolkit
- extends Toolkit<Actor,Table,com.badlogic.gdx.scenes.scene2d.ui.TableLayout>
The libgdx implementation of the table layout functionality.
- Author:
- Nathan Sweet
Fields inherited from class com.esotericsoftware.tablelayout.Toolkit |
instance |
TableToolkit
public TableToolkit()
obtainCell
public Cell obtainCell(com.badlogic.gdx.scenes.scene2d.ui.TableLayout layout)
- Specified by:
obtainCell
in class Toolkit<Actor,Table,com.badlogic.gdx.scenes.scene2d.ui.TableLayout>
freeCell
public void freeCell(Cell cell)
- Specified by:
freeCell
in class Toolkit<Actor,Table,com.badlogic.gdx.scenes.scene2d.ui.TableLayout>
addChild
public void addChild(Actor parent,
Actor child)
- Specified by:
addChild
in class Toolkit<Actor,Table,com.badlogic.gdx.scenes.scene2d.ui.TableLayout>
removeChild
public void removeChild(Actor parent,
Actor child)
- Specified by:
removeChild
in class Toolkit<Actor,Table,com.badlogic.gdx.scenes.scene2d.ui.TableLayout>
getMinWidth
public float getMinWidth(Actor actor)
- Specified by:
getMinWidth
in class Toolkit<Actor,Table,com.badlogic.gdx.scenes.scene2d.ui.TableLayout>
getMinHeight
public float getMinHeight(Actor actor)
- Specified by:
getMinHeight
in class Toolkit<Actor,Table,com.badlogic.gdx.scenes.scene2d.ui.TableLayout>
getPrefWidth
public float getPrefWidth(Actor actor)
- Specified by:
getPrefWidth
in class Toolkit<Actor,Table,com.badlogic.gdx.scenes.scene2d.ui.TableLayout>
getPrefHeight
public float getPrefHeight(Actor actor)
- Specified by:
getPrefHeight
in class Toolkit<Actor,Table,com.badlogic.gdx.scenes.scene2d.ui.TableLayout>
getMaxWidth
public float getMaxWidth(Actor actor)
- Specified by:
getMaxWidth
in class Toolkit<Actor,Table,com.badlogic.gdx.scenes.scene2d.ui.TableLayout>
getMaxHeight
public float getMaxHeight(Actor actor)
- Specified by:
getMaxHeight
in class Toolkit<Actor,Table,com.badlogic.gdx.scenes.scene2d.ui.TableLayout>
getWidth
public float getWidth(Actor widget)
- Specified by:
getWidth
in class Toolkit<Actor,Table,com.badlogic.gdx.scenes.scene2d.ui.TableLayout>
getHeight
public float getHeight(Actor widget)
- Specified by:
getHeight
in class Toolkit<Actor,Table,com.badlogic.gdx.scenes.scene2d.ui.TableLayout>
clearDebugRectangles
public void clearDebugRectangles(com.badlogic.gdx.scenes.scene2d.ui.TableLayout layout)
- Description copied from class:
Toolkit
- Clears all debugging rectangles.
- Specified by:
clearDebugRectangles
in class Toolkit<Actor,Table,com.badlogic.gdx.scenes.scene2d.ui.TableLayout>
addDebugRectangle
public void addDebugRectangle(com.badlogic.gdx.scenes.scene2d.ui.TableLayout layout,
BaseTableLayout.Debug type,
float x,
float y,
float w,
float h)
- Description copied from class:
Toolkit
- Adds a rectangle that should be drawn for debugging.
- Specified by:
addDebugRectangle
in class Toolkit<Actor,Table,com.badlogic.gdx.scenes.scene2d.ui.TableLayout>
Copyright © 2013. All Rights Reserved.