C# 클래스 Protogame.TreeView

상속: IContainer
파일 보기 프로젝트 열기: RedpointGames/Protogame 1 사용 예제들

공개 메소드들

메소드 설명
AddChild ( TreeItem item ) : void
BuildEntryGraph ( Rectangle layout ) : TreeEntry
GetChildrenWithLayouts ( ISkinLayout skin, Rectangle layout ) : IEnumerable
HandleEvent ( ISkinLayout skin, Rectangle layout, IGameContext context, Event @event ) : bool
NormalizeTree ( TreeEntry tree, bool exclude ) : List
RemoveAllChildren ( ) : void
RemoveChild ( TreeItem item ) : void
Render ( IRenderContext context, ISkinLayout skinLayout, ISkinDelegator skinDelegator, Rectangle layout ) : void
Update ( ISkinLayout skin, Rectangle layout, GameTime gameTime, bool &stealFocus ) : void

비공개 메소드들

메소드 설명
BackfillParentsForItem ( TreeEntry root, TreeItem item ) : void
FindParentForItem ( TreeEntry current, TreeItem item ) : TreeEntry

메소드 상세

AddChild() 공개 메소드

public AddChild ( TreeItem item ) : void
item TreeItem
리턴 void

BuildEntryGraph() 공개 메소드

public BuildEntryGraph ( Rectangle layout ) : TreeEntry
layout Microsoft.Xna.Framework.Rectangle
리턴 TreeEntry

GetChildrenWithLayouts() 공개 메소드

public GetChildrenWithLayouts ( ISkinLayout skin, Rectangle layout ) : IEnumerable
skin ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
리턴 IEnumerable

HandleEvent() 공개 메소드

public HandleEvent ( ISkinLayout skin, Rectangle layout, IGameContext context, Event @event ) : bool
skin ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
context IGameContext
@event Event
리턴 bool

NormalizeTree() 공개 메소드

public NormalizeTree ( TreeEntry tree, bool exclude ) : List
tree TreeEntry
exclude bool
리턴 List

RemoveAllChildren() 공개 메소드

public RemoveAllChildren ( ) : void
리턴 void

RemoveChild() 공개 메소드

public RemoveChild ( TreeItem item ) : void
item TreeItem
리턴 void

Render() 공개 메소드

public Render ( IRenderContext context, ISkinLayout skinLayout, ISkinDelegator skinDelegator, Rectangle layout ) : void
context IRenderContext
skinLayout ISkinLayout
skinDelegator ISkinDelegator
layout Microsoft.Xna.Framework.Rectangle
리턴 void

Update() 공개 메소드

public Update ( ISkinLayout skin, Rectangle layout, GameTime gameTime, bool &stealFocus ) : void
skin ISkinLayout
layout Microsoft.Xna.Framework.Rectangle
gameTime Microsoft.Xna.Framework.GameTime
stealFocus bool
리턴 void