UNPKG

@adaptabletools/adaptable

Version:

Powerful data-agnostic HTML5 AG Grid extension which provides advanced, cutting-edge functionality to meet all DataGrid requirements

27 lines (26 loc) 1.24 kB
import { AdaptableModuleBase } from './AdaptableModuleBase'; import { Shortcut } from '../AdaptableState/ShortcutState'; import { TeamSharingImportInfo } from '../AdaptableState/TeamSharingState'; import { AdaptableApi } from '../Api/AdaptableApi'; import { AdaptableObject } from '../AdaptableState/Common/AdaptableObject'; import { AdaptableModuleView, AdaptableObjectView } from './Interface/IModule'; import { IKeyDownListenerModule } from './Interface/IKeyDownListenerModule'; export declare class ShortcutModule extends AdaptableModuleBase implements IKeyDownListenerModule { private shouldHandleKeyDown; private adaptable; constructor(api: AdaptableApi); getModuleAdaptableObjects(config?: { includeLayoutNotAssociatedObjects?: boolean; }): AdaptableObject[]; hasNamedQueryReferences(): boolean; getTeamSharingAction(): TeamSharingImportInfo<Shortcut>; onAdaptableReady(): void; private setupKeyDownListener; checkListenToKeyDown(): void; private handleKeyDown; private calculateShortcut; toView(shortcut: Shortcut): AdaptableObjectView; toViewAll(): AdaptableObjectView[]; getViewProperties(): AdaptableModuleView; canBeAssociatedWithLayouts(): boolean; }