C# Class KeymapGenerator.ViewModels.ViewModel

Inheritance: INotifyPropertyChanged
ファイルを表示 Open project: jreardon/KeymapGenerator Class Usage Examples

Public Methods

Method Description
DeleteLayer ( ) : void
GetCurrentKeymapType ( ) : KeymapType
GetKeymapLayer ( string layerName ) : KeymapLayer
ImportKeymapFile ( string file ) : void
ResetKeymap ( ) : void
SaveKeymapToFile ( ) : void
SetAvailableRefLayers ( ) : void
SetRefLayer ( ) : void
TriggerLayerAction ( string layerName ) : void
UpdateKeymapType ( ) : void
UpdatedKeymapText ( ) : void
ViewModel ( RoutedEventArgs>.Action selectedLayerClick ) : System

Private Methods

Method Description
AddLayer ( string layerName ) : void
KeymapButton_Click ( ) : RoutedEventArgs>.Action
OnPropertyChanged ( [ propertyName = null ) : void
RenameLayer ( string layerName ) : void

Method Details

DeleteLayer() public method

public DeleteLayer ( ) : void
return void

GetCurrentKeymapType() public method

public GetCurrentKeymapType ( ) : KeymapType
return KeymapType

GetKeymapLayer() public method

public GetKeymapLayer ( string layerName ) : KeymapLayer
layerName string
return KeymapGenerator.Models.KeymapLayer

ImportKeymapFile() public method

public ImportKeymapFile ( string file ) : void
file string
return void

ResetKeymap() public method

public ResetKeymap ( ) : void
return void

SaveKeymapToFile() public method

public SaveKeymapToFile ( ) : void
return void

SetAvailableRefLayers() public method

public SetAvailableRefLayers ( ) : void
return void

SetRefLayer() public method

public SetRefLayer ( ) : void
return void

TriggerLayerAction() public method

public TriggerLayerAction ( string layerName ) : void
layerName string
return void

UpdateKeymapType() public method

public UpdateKeymapType ( ) : void
return void

UpdatedKeymapText() public method

public UpdatedKeymapText ( ) : void
return void

ViewModel() public method

public ViewModel ( RoutedEventArgs>.Action selectedLayerClick ) : System
selectedLayerClick RoutedEventArgs>.Action
return System