1 | import { Tree } from './tree';
|
2 | import { TreeModel } from './tree.types';
|
3 | import { TreeInternalComponent } from './tree-internal.component';
|
4 | export declare class TreeController {
|
5 | private component;
|
6 | private tree;
|
7 | private treeService;
|
8 | constructor(component: TreeInternalComponent);
|
9 | select(): void;
|
10 | unselect(): void;
|
11 | isSelected(): boolean;
|
12 | expand(): void;
|
13 | expandToParent(tree?: any): void;
|
14 | isExpanded(): boolean;
|
15 | collapse(): void;
|
16 | isCollapsed(): boolean;
|
17 | toTreeModel(): TreeModel;
|
18 | rename(newValue: string): void;
|
19 | remove(): void;
|
20 | addChild(newNode: TreeModel): void;
|
21 | addChildAsync(newNode: TreeModel): Promise<Tree>;
|
22 | changeNodeId(id: string | number): void;
|
23 | reloadChildren(): void;
|
24 | setChildren(children: TreeModel[]): void;
|
25 | startRenaming(): void;
|
26 | check(): void;
|
27 | uncheck(): void;
|
28 | isChecked(): boolean;
|
29 | isIndetermined(): boolean;
|
30 | allowSelection(): void;
|
31 | forbidSelection(): void;
|
32 | isSelectionAllowed(): boolean;
|
33 | }
|