C# Class Artemis.ViewModels.Profiles.ProfileViewModel

Inheritance: Caliburn.Micro.PropertyChangedBase
Afficher le fichier Open project: SpoinkyNL/Artemis Class Usage Examples

Méthodes publiques

Méthode Description
Activate ( ) : void
Deactivate ( ) : void
GetRenderLayers ( ) : List
MouseDownKeyboardPreview ( System.Windows.Input.MouseButtonEventArgs e ) : void

Handler for clicking

MouseMoveKeyboardPreview ( System.Windows.Input.MouseEventArgs e ) : void

Handler for resizing and moving the currently selected layer

MouseUpKeyboardPreview ( System.Windows.Input.MouseButtonEventArgs e ) : void

Second handler for clicking, selects a the layer the user clicked on if the used clicked on an empty spot, deselects the current layer

ProfileViewModel ( DeviceManager deviceManager ) : System

Private Methods

Méthode Description
DeviceManagerOnOnKeyboardChangedEvent ( object sender, KeyboardChangedEventArgs e ) : void
GetLayers ( ) : List
HandleDragging ( System.Windows.Input.MouseEventArgs e, double x, double y, LayerModel hoverLayer ) : void

Handles dragging the given layer

InvokeUpdateKeyboardPreview ( object sender, System.Timers.ElapsedEventArgs e ) : void

Method Details

Activate() public méthode

public Activate ( ) : void
Résultat void

Deactivate() public méthode

public Deactivate ( ) : void
Résultat void

GetRenderLayers() public méthode

public GetRenderLayers ( ) : List
Résultat List

MouseDownKeyboardPreview() public méthode

Handler for clicking
public MouseDownKeyboardPreview ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
Résultat void

MouseMoveKeyboardPreview() public méthode

Handler for resizing and moving the currently selected layer
public MouseMoveKeyboardPreview ( System.Windows.Input.MouseEventArgs e ) : void
e System.Windows.Input.MouseEventArgs
Résultat void

MouseUpKeyboardPreview() public méthode

Second handler for clicking, selects a the layer the user clicked on if the used clicked on an empty spot, deselects the current layer
public MouseUpKeyboardPreview ( System.Windows.Input.MouseButtonEventArgs e ) : void
e System.Windows.Input.MouseButtonEventArgs
Résultat void

ProfileViewModel() public méthode

public ProfileViewModel ( DeviceManager deviceManager ) : System
deviceManager Artemis.Managers.DeviceManager
Résultat System