UNPKG

1.51 kBTypeScriptView Raw
1import { FocusService } from "../focusService";
2import { BeanStub } from "../context/beanStub";
3import { LayoutView } from "../styling/layoutFeature";
4export interface IGridComp extends LayoutView {
5 setRtlClass(cssClass: string): void;
6 destroyGridUi(): void;
7 forceFocusOutOfContainer(up: boolean): void;
8 addOrRemoveKeyboardFocusClass(value: boolean): void;
9 getFocusableContainers(): HTMLElement[];
10 setCursor(value: string | null): void;
11 setUserSelect(value: string | null): void;
12}
13export declare class GridCtrl extends BeanStub {
14 private readonly columnApi;
15 private readonly gridApi;
16 protected readonly focusService: FocusService;
17 private readonly resizeObserverService;
18 private readonly columnModel;
19 private readonly ctrlsService;
20 private readonly mouseEventService;
21 private view;
22 private eGridHostDiv;
23 private eGui;
24 protected postConstruct(): void;
25 setComp(view: IGridComp, eGridDiv: HTMLElement, eGui: HTMLElement): void;
26 showDropZones(): boolean;
27 showSideBar(): boolean;
28 showStatusBar(): boolean;
29 showWatermark(): boolean;
30 private onGridSizeChanged;
31 private addRtlSupport;
32 destroyGridUi(): void;
33 getGui(): HTMLElement;
34 setResizeCursor(on: boolean): void;
35 disableUserSelect(on: boolean): void;
36 focusNextInnerContainer(backwards: boolean): boolean;
37 focusInnerElement(fromBottom?: boolean): boolean;
38 focusGridHeader(): boolean;
39 forceFocusOutOfContainer(up?: boolean): void;
40}