File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 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";
44import { ClipboardActionProvider } from "../provider/native/clipboard-action-provider.interface" ;
55import { ClipboardAction } from "../provider/native/clipboardy-clipboard-action.class" ;
66import { 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" ;
88import { KeyboardAction } from "../provider/native/robotjs-keyboard-action.class" ;
99import { MouseAction } from "../provider/native/robotjs-mouse-action.class" ;
1010
@@ -20,12 +20,12 @@ export class NativeAdapter {
2020 * {@link NativeAdapter } class constructor
2121 * @param clipboard {@link ClipboardActionProvider } instance used to interact with a systems clipboard (Default: {@link ClipboardAction})
2222 * @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})
2424 */
2525 constructor (
2626 private clipboard : ClipboardActionProvider = new ClipboardAction ( ) ,
2727 private keyboard : KeyboardActionProvider = new KeyboardAction ( ) ,
28- private mouse : MouseActionInterface = new MouseAction ( ) ,
28+ private mouse : MouseActionProvider = new MouseAction ( ) ,
2929 ) { }
3030
3131 /**
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import { Point } from "../../point.class";
44/**
55 * A MouseActionProvider should provide access to a systems mouse input
66 */
7- export interface MouseActionInterface {
7+ export interface MouseActionProvider {
88 /**
99 * setMouseDelay should allow to configure mouse movement speed
1010 *
Original file line number Diff line number Diff line change 11import robot = require( "@nut-tree/libnut" ) ;
22import { Button } from "../../button.enum" ;
33import { Point } from "../../point.class" ;
4- import { MouseActionInterface } from "./mouse-action-provider.interface" ;
4+ import { MouseActionProvider } from "./mouse-action-provider.interface" ;
55
6- export class MouseAction implements MouseActionInterface {
6+ export class MouseAction implements MouseActionProvider {
77 public static buttonLookup ( btn : Button ) : any {
88 return this . ButtonLookupMap . get ( btn ) ;
99 }
You can’t perform that action at this time.
0 commit comments