C# Class LongoMatch.Drawing.Widgets.TeamTagger

Inheritance: SelectionCanvas
Mostra file Open project: LongoMatch/longomatch Class Usage Examples

Public Methods

Method Description
LoadTeams ( SportsTeam homeTeam, SportsTeam awayTeam, Image background ) : void
Reload ( ) : void
ResetSelection ( ) : void
Select ( IList players, IList teams ) : void
Select ( PlayerLongoMatch p ) : void
Select ( TeamType team ) : void
Substitute ( PlayerLongoMatch p1, PlayerLongoMatch p2, SportsTeam team ) : void
TeamTagger ( ) : System.Collections.Generic
TeamTagger ( IWidget widget ) : System.Collections.Generic

Protected Methods

Method Description
Dispose ( bool disposing ) : void
HandleSizeChangedEvent ( ) : void
ShowMenu ( Point coords ) : void

Private Methods

Method Description
HandlePlayersSelectionChangedEvent ( List players ) : void
HandlePlayersSubstitutionEvent ( SportsTeam team, PlayerLongoMatch p1, PlayerLongoMatch p2, SubstitutionReason reason, Time time ) : void
HandleTeamSelectionChangedEvent ( ObservableCollection teams ) : void

Method Details

Dispose() protected method

protected Dispose ( bool disposing ) : void
disposing bool
return void

HandleSizeChangedEvent() protected method

protected HandleSizeChangedEvent ( ) : void
return void

LoadTeams() public method

public LoadTeams ( SportsTeam homeTeam, SportsTeam awayTeam, Image background ) : void
homeTeam SportsTeam
awayTeam SportsTeam
background LongoMatch.Core.Common.Image
return void

Reload() public method

public Reload ( ) : void
return void

ResetSelection() public method

public ResetSelection ( ) : void
return void

Select() public method

public Select ( IList players, IList teams ) : void
players IList
teams IList
return void

Select() public method

public Select ( PlayerLongoMatch p ) : void
p LongoMatch.Core.Store.PlayerLongoMatch
return void

Select() public method

public Select ( TeamType team ) : void
team TeamType
return void

ShowMenu() protected method

protected ShowMenu ( Point coords ) : void
coords LongoMatch.Core.Common.Point
return void

Substitute() public method

public Substitute ( PlayerLongoMatch p1, PlayerLongoMatch p2, SportsTeam team ) : void
p1 LongoMatch.Core.Store.PlayerLongoMatch
p2 LongoMatch.Core.Store.PlayerLongoMatch
team SportsTeam
return void

TeamTagger() public method

public TeamTagger ( ) : System.Collections.Generic
return System.Collections.Generic

TeamTagger() public method

public TeamTagger ( IWidget widget ) : System.Collections.Generic
widget IWidget
return System.Collections.Generic