File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { Point } from "../point.class";
4
4
import { ClipboardActionProvider } from "../provider/native/clipboard-action-provider.interface" ;
5
5
import { ClipboardAction } from "../provider/native/clipboardy-clipboard-action.class" ;
6
6
import { KeyboardActionProvider } from "../provider/native/keyboard-action-provider.interface" ;
7
- import { MouseActionInterface } from "../provider/native/mouse-action-provider.interface" ;
7
+ import { MouseActionProvider } from "../provider/native/mouse-action-provider.interface" ;
8
8
import { KeyboardAction } from "../provider/native/robotjs-keyboard-action.class" ;
9
9
import { MouseAction } from "../provider/native/robotjs-mouse-action.class" ;
10
10
@@ -20,12 +20,12 @@ export class NativeAdapter {
20
20
* {@link NativeAdapter } class constructor
21
21
* @param clipboard {@link ClipboardActionProvider } instance used to interact with a systems clipboard (Default: {@link ClipboardAction})
22
22
* @param keyboard {@link KeyboardActionProvider } instance used to interact with a systems keybaord (Default: {@link KeyboardAction})
23
- * @param mouse {@link MouseActionInterface } instance used to interact with a systems mouse (Default: {@link MouseAction})
23
+ * @param mouse {@link MouseActionProvider } instance used to interact with a systems mouse (Default: {@link MouseAction})
24
24
*/
25
25
constructor (
26
26
private clipboard : ClipboardActionProvider = new ClipboardAction ( ) ,
27
27
private keyboard : KeyboardActionProvider = new KeyboardAction ( ) ,
28
- private mouse : MouseActionInterface = new MouseAction ( ) ,
28
+ private mouse : MouseActionProvider = new MouseAction ( ) ,
29
29
) { }
30
30
31
31
/**
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { Point } from "../../point.class";
4
4
/**
5
5
* A MouseActionProvider should provide access to a systems mouse input
6
6
*/
7
- export interface MouseActionInterface {
7
+ export interface MouseActionProvider {
8
8
/**
9
9
* setMouseDelay should allow to configure mouse movement speed
10
10
*
Original file line number Diff line number Diff line change 1
1
import robot = require( "@nut-tree/libnut" ) ;
2
2
import { Button } from "../../button.enum" ;
3
3
import { Point } from "../../point.class" ;
4
- import { MouseActionInterface } from "./mouse-action-provider.interface" ;
4
+ import { MouseActionProvider } from "./mouse-action-provider.interface" ;
5
5
6
- export class MouseAction implements MouseActionInterface {
6
+ export class MouseAction implements MouseActionProvider {
7
7
public static buttonLookup ( btn : Button ) : any {
8
8
return this . ButtonLookupMap . get ( btn ) ;
9
9
}
You can’t perform that action at this time.
0 commit comments