C# Class MonoGdx.Scene2D.UI.Table

Inheritance: WidgetGroup
Mostra file Open project: jaquadro/MonoGdx Class Usage Examples

Public Methods

Method Description
Add ( ) : Cell
Add ( Actor actor ) : Cell
Add ( string text ) : Cell
Add ( string text, string labelStyleName ) : Cell
Add ( string text, string fontName, Color color ) : Cell
Add ( string text, string fontName, string colorName ) : Cell
ClearChildren ( ) : void
ColumnDefaults ( int column ) : Cell
Defaults ( ) : Cell
Draw ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void
GetCell ( Actor actor ) : Cell
GetCells ( ) : List
GetRow ( float y ) : int
Hit ( float x, float y, bool touchable ) : Actor
Invalidate ( ) : void
Layout ( ) : void
Pad ( Value pad ) : Table
Pad ( Value top, Value left, Value bottom, Value right ) : Table
Pad ( float pad ) : Table
Pad ( float top, float left, float bottom, float right ) : Table
RemoveActor ( Actor actor ) : bool
Reset ( ) : void
Row ( ) : Cell
SetBackground ( ISceneDrawable background ) : void
SetBackground ( string drawableName ) : void
SetClip ( bool enabled ) : void
Stack ( ) : Cell
Table ( Skin skin ) : System

Protected Methods

Method Description
DrawBackground ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void

Private Methods

Method Description
DrawDebug ( List actors, SpriteBatch spriteBatch ) : void
DrawDebug ( Stage stage ) : void
Table ( ) : System

Method Details

Add() public method

public Add ( ) : Cell
return MonoGdx.TableLayout.Cell

Add() public method

public Add ( Actor actor ) : Cell
actor Actor
return MonoGdx.TableLayout.Cell

Add() public method

public Add ( string text ) : Cell
text string
return MonoGdx.TableLayout.Cell

Add() public method

public Add ( string text, string labelStyleName ) : Cell
text string
labelStyleName string
return MonoGdx.TableLayout.Cell

Add() public method

public Add ( string text, string fontName, Color color ) : Cell
text string
fontName string
color Color
return MonoGdx.TableLayout.Cell

Add() public method

public Add ( string text, string fontName, string colorName ) : Cell
text string
fontName string
colorName string
return MonoGdx.TableLayout.Cell

ClearChildren() public method

public ClearChildren ( ) : void
return void

ColumnDefaults() public method

public ColumnDefaults ( int column ) : Cell
column int
return MonoGdx.TableLayout.Cell

Defaults() public method

public Defaults ( ) : Cell
return MonoGdx.TableLayout.Cell

Draw() public method

public Draw ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void
spriteBatch MonoGdx.Graphics.G2D.GdxSpriteBatch
parentAlpha float
return void

DrawBackground() protected method

protected DrawBackground ( GdxSpriteBatch spriteBatch, float parentAlpha ) : void
spriteBatch MonoGdx.Graphics.G2D.GdxSpriteBatch
parentAlpha float
return void

GetCell() public method

public GetCell ( Actor actor ) : Cell
actor Actor
return MonoGdx.TableLayout.Cell

GetCells() public method

public GetCells ( ) : List
return List

GetRow() public method

public GetRow ( float y ) : int
y float
return int

Hit() public method

public Hit ( float x, float y, bool touchable ) : Actor
x float
y float
touchable bool
return Actor

Invalidate() public method

public Invalidate ( ) : void
return void

Layout() public method

public Layout ( ) : void
return void

Pad() public method

public Pad ( Value pad ) : Table
pad MonoGdx.TableLayout.Value
return Table

Pad() public method

public Pad ( Value top, Value left, Value bottom, Value right ) : Table
top MonoGdx.TableLayout.Value
left MonoGdx.TableLayout.Value
bottom MonoGdx.TableLayout.Value
right MonoGdx.TableLayout.Value
return Table

Pad() public method

public Pad ( float pad ) : Table
pad float
return Table

Pad() public method

public Pad ( float top, float left, float bottom, float right ) : Table
top float
left float
bottom float
right float
return Table

RemoveActor() public method

public RemoveActor ( Actor actor ) : bool
actor Actor
return bool

Reset() public method

public Reset ( ) : void
return void

Row() public method

public Row ( ) : Cell
return MonoGdx.TableLayout.Cell

SetBackground() public method

public SetBackground ( ISceneDrawable background ) : void
background ISceneDrawable
return void

SetBackground() public method

public SetBackground ( string drawableName ) : void
drawableName string
return void

SetClip() public method

public SetClip ( bool enabled ) : void
enabled bool
return void

Stack() public method

public Stack ( ) : Cell
return MonoGdx.TableLayout.Cell

Table() public method

public Table ( Skin skin ) : System
skin Skin
return System