import type { IPlotController, IViewCommandG, OxyKeyEventArgs, OxyMouseDownEventArgs, OxyMouseEventArgs, OxyMouseWheelEventArgs, OxyTouchEventArgs } from '..'; import { OxyKey, OxyModifierKeys, OxyMouseButton } from '..'; /** * Provides extension methods for the IPlotController. */ export declare class ControllerExtensions { /** * Binds the specified key to the specified command. * @param controller The plot controller. * @param key The key. * @param command A plot controller command that takes key event arguments. * @param modifiers The key modifiers. */ static bindKeyDown(controller: IPlotController, key: OxyKey, command: IViewCommandG, modifiers?: OxyModifierKeys): void; /** * Binds the specified mouse button to the specified command. * @param controller The plot controller. * @param mouseButton The mouse button. * @param command A plot controller command that takes mouse event arguments. * @param modifiers The modifiers. * @param clickCount The click count. */ static bindMouseDown(controller: IPlotController, mouseButton: OxyMouseButton, command: IViewCommandG, modifiers?: OxyModifierKeys, clickCount?: number): void; /** * Binds the touch down event to the specified command. * @param controller The plot controller. * @param command A plot controller command that takes touch event arguments. */ static bindTouchDown(controller: IPlotController, command: IViewCommandG): void; /** * Binds the mouse enter event to the specified command. * @param controller The plot controller. * @param command A plot controller command that takes mouse event arguments. */ static bindMouseEnter(controller: IPlotController, command: IViewCommandG): void; /** * Binds the modifier+mouse wheel event to the specified command. * @param controller The plot controller. * @param modifiers The modifier key(s). * @param command A plot controller command that takes mouse wheel event arguments. */ static bindMouseWheel(controller: IPlotController, command: IViewCommandG, modifiers?: OxyModifierKeys): void; /** * Unbinds the specified mouse down gesture. * @param controller The controller. * @param mouseButton The mouse button. * @param modifiers The modifier keys. * @param clickCount The click count. */ static unbindMouseDown(controller: IPlotController, mouseButton: OxyMouseButton, modifiers?: OxyModifierKeys, clickCount?: number): void; /** * Unbinds the specified key down gesture. * @param controller The controller. * @param key The key. * @param modifiers The modifier keys. */ static unbindKeyDown(controller: IPlotController, key: OxyKey, modifiers?: OxyModifierKeys): void; /** * Unbinds the mouse enter gesture. * @param controller The controller. */ static unbindMouseEnter(controller: IPlotController): void; /** * Unbinds the touch down gesture. * @param controller The controller. */ static unbindTouchDown(controller: IPlotController): void; /** * Unbinds the mouse wheel gesture. * @param controller The controller. */ static unbindMouseWheel(controller: IPlotController): void; } //# sourceMappingURL=ControllerExtensions.d.ts.map