C# Class LongoMatch.Core.Common.EventsFilter

Show file Open project: GNOME/longomatch Class Usage Examples

Public Methods

Method Description
ClearAll ( bool update = true ) : void
EventsFilter ( Project project ) : System
FilterEventTag ( EventType evType, Tag tag, bool visible ) : void
FilterEventType ( EventType evType, bool visible ) : void
FilterPeriod ( Period period, bool visible ) : void
FilterPlayer ( Player player, bool visible ) : void
FilterTag ( Tag tag, bool visible ) : void
FilterTimer ( Timer timer, bool visible ) : void
IsVisible ( object o ) : bool
Update ( ) : void

Private Methods

Method Description
EmitFilterUpdated ( ) : void
UpdateFilters ( ) : void
UpdateVisibleCategories ( ) : void
UpdateVisiblePlayers ( ) : void
UpdateVisiblePlays ( ) : void

Method Details

ClearAll() public method

public ClearAll ( bool update = true ) : void
update bool
return void

EventsFilter() public method

public EventsFilter ( Project project ) : System
project Project
return System

FilterEventTag() public method

public FilterEventTag ( EventType evType, Tag tag, bool visible ) : void
evType LongoMatch.Core.Store.EventType
tag LongoMatch.Core.Store.Tag
visible bool
return void

FilterEventType() public method

public FilterEventType ( EventType evType, bool visible ) : void
evType LongoMatch.Core.Store.EventType
visible bool
return void

FilterPeriod() public method

public FilterPeriod ( Period period, bool visible ) : void
period LongoMatch.Core.Store.Period
visible bool
return void

FilterPlayer() public method

public FilterPlayer ( Player player, bool visible ) : void
player Player
visible bool
return void

FilterTag() public method

public FilterTag ( Tag tag, bool visible ) : void
tag LongoMatch.Core.Store.Tag
visible bool
return void

FilterTimer() public method

public FilterTimer ( Timer timer, bool visible ) : void
timer LongoMatch.Core.Store.Timer
visible bool
return void

IsVisible() public method

public IsVisible ( object o ) : bool
o object
return bool

Update() public method

public Update ( ) : void
return void