C# Class Protogame.ListView

The list view.
Inheritance: IContainer, IHasDesiredSize
Afficher le fichier Open project: RedpointGames/Protogame Class Usage Examples

Méthodes publiques

Méthode Description
AddChild ( IContainer item ) : void
GetChildrenWithLayouts ( ISkinLayout skinLayout, Rectangle layout ) : IEnumerable
GetDesiredHeight ( ISkinLayout skin ) : int?
GetDesiredWidth ( ISkinLayout skin ) : int?
HandleEvent ( ISkinLayout skinLayout, Rectangle layout, IGameContext context, Event @event ) : bool
RemoveAllChildren ( ) : void
RemoveChild ( IContainer item ) : void
Render ( IRenderContext context, ISkinLayout skinLayout, ISkinDelegator skinDelegator, Rectangle layout ) : void
Update ( ISkinLayout skinLayout, Rectangle layout, GameTime gameTime, bool &stealFocus ) : void

Method Details

AddChild() public méthode

public AddChild ( IContainer item ) : void
item IContainer
Résultat void

GetChildrenWithLayouts() public méthode

public GetChildrenWithLayouts ( ISkinLayout skinLayout, Rectangle layout ) : IEnumerable
skinLayout ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
Résultat IEnumerable

GetDesiredHeight() public méthode

public GetDesiredHeight ( ISkinLayout skin ) : int?
skin ISkinLayout
Résultat int?

GetDesiredWidth() public méthode

public GetDesiredWidth ( ISkinLayout skin ) : int?
skin ISkinLayout
Résultat int?

HandleEvent() public méthode

public HandleEvent ( ISkinLayout skinLayout, Rectangle layout, IGameContext context, Event @event ) : bool
skinLayout ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
context IGameContext
@event Event
Résultat bool

RemoveAllChildren() public méthode

public RemoveAllChildren ( ) : void
Résultat void

RemoveChild() public méthode

public RemoveChild ( IContainer item ) : void
item IContainer
Résultat void

Render() public méthode

public Render ( IRenderContext context, ISkinLayout skinLayout, ISkinDelegator skinDelegator, Rectangle layout ) : void
context IRenderContext
skinLayout ISkinLayout
skinDelegator ISkinDelegator
layout Microsoft.Xna.Framework.Rectangle
Résultat void

Update() public méthode

public Update ( ISkinLayout skinLayout, Rectangle layout, GameTime gameTime, bool &stealFocus ) : void
skinLayout ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
gameTime Microsoft.Xna.Framework.GameTime
stealFocus bool
Résultat void