C# Class GnomeSubtitles.Core.Command.ChangeStyleCommand

Inheritance: FixedMultipleSelectionCommand
Show file Open project: GNOME/gnome-subtitles

Public Methods

Method Description
ChangeStyleCommand ( string description, bool newStyleValue ) : GnomeSubtitles.Ui.View

Protected Methods

Method Description
ChangeValues ( ) : bool
SetStyle ( Subtitle subtitle, bool style ) : void

Private Methods

Method Description
ToggleStyleValue ( ) : void

Method Details

ChangeStyleCommand() public method

public ChangeStyleCommand ( string description, bool newStyleValue ) : GnomeSubtitles.Ui.View
description string
newStyleValue bool
return GnomeSubtitles.Ui.View

ChangeValues() protected method

protected ChangeValues ( ) : bool
return bool

SetStyle() protected abstract method

protected abstract SetStyle ( Subtitle subtitle, bool style ) : void
subtitle SubLib.Core.Domain.Subtitle
style bool
return void