C# Class Pokemon3D.Rendering.UI.UiCompoundElement

UiElement which holds a list of elements. It should be used for complex UI Elements with multiple child elements.
Inheritance: UiElement
ファイルを表示 Open project: nilllzz/Pokemon3D Class Usage Examples

Public Methods

Method Description
Draw ( SpriteBatch spriteBatch ) : void
Focus ( ) : void
Hide ( ) : void
Show ( ) : void
Unfocus ( ) : void
Update ( GameTime time ) : void

Protected Methods

Method Description
AddChildElement ( UiElement element ) : void

Adds a child control to compound element.

ClearChildren ( ) : void
RemoveChild ( UiElement element ) : void
UiCompoundElement ( ) : System.Collections.Generic

Method Details

AddChildElement() protected method

Adds a child control to compound element.
protected AddChildElement ( UiElement element ) : void
element UiElement
return void

ClearChildren() protected method

protected ClearChildren ( ) : void
return void

Draw() public method

public Draw ( SpriteBatch spriteBatch ) : void
spriteBatch Microsoft.Xna.Framework.Graphics.SpriteBatch
return void

Focus() public method

public Focus ( ) : void
return void

Hide() public method

public Hide ( ) : void
return void

RemoveChild() protected method

protected RemoveChild ( UiElement element ) : void
element UiElement
return void

Show() public method

public Show ( ) : void
return void

UiCompoundElement() protected method

protected UiCompoundElement ( ) : System.Collections.Generic
return System.Collections.Generic

Unfocus() public method

public Unfocus ( ) : void
return void

Update() public method

public Update ( GameTime time ) : void
time Microsoft.Xna.Framework.GameTime
return void