UNPKG

721 BPlain TextView Raw
1import {AbstractColDef} from "./colDef";
2import {IEventEmitter} from "../interfaces/iEventEmitter";
3import {ColumnGroup} from "./columnGroup";
4
5// Implemented by Column and ColumnGroup. Allows the groups to contain a list of this type for it's children.
6// See the note at the top of Column class.
7export interface ColumnGroupChild extends IEventEmitter {
8 getUniqueId(): string;
9 getActualWidth(): number;
10 getMinWidth(): number;
11 getLeft(): number;
12 getOldLeft(): number;
13 getDefinition(): AbstractColDef;
14 getColumnGroupShow(): string;
15 getParent(): ColumnGroupChild;
16 isResizable(): boolean;
17 setParent(parent: ColumnGroup): void;
18 isEmptyGroup(): boolean;
19 isMoving(): boolean;
20}