1 | import { Tree } from './tree';
|
2 | import { RenamableNode } from './tree.types';
|
3 | export declare class NodeEvent {
|
4 | node: Tree;
|
5 | constructor(node: Tree);
|
6 | }
|
7 | export declare class NodeSelectedEvent extends NodeEvent {
|
8 | constructor(node: Tree);
|
9 | }
|
10 | export declare class NodeUnselectedEvent extends NodeEvent {
|
11 | constructor(node: Tree);
|
12 | }
|
13 | export declare class NodeDestructiveEvent extends NodeEvent {
|
14 | constructor(node: Tree);
|
15 | }
|
16 | export declare class NodeMovedEvent extends NodeDestructiveEvent {
|
17 | previousParent: Tree;
|
18 | constructor(node: Tree, previousParent: Tree);
|
19 | }
|
20 | export declare class NodeRemovedEvent extends NodeDestructiveEvent {
|
21 | lastIndex: number;
|
22 | constructor(node: Tree, lastIndex: number);
|
23 | }
|
24 | export declare class NodeCreatedEvent extends NodeDestructiveEvent {
|
25 | constructor(node: Tree);
|
26 | }
|
27 | export declare class NodeRenamedEvent extends NodeDestructiveEvent {
|
28 | oldValue: string | RenamableNode;
|
29 | newValue: string | RenamableNode;
|
30 | constructor(node: Tree, oldValue: string | RenamableNode, newValue: string | RenamableNode);
|
31 | }
|
32 | export declare class NodeExpandedEvent extends NodeEvent {
|
33 | constructor(node: Tree);
|
34 | }
|
35 | export declare class NodeCollapsedEvent extends NodeEvent {
|
36 | constructor(node: Tree);
|
37 | }
|
38 | export declare class MenuItemSelectedEvent extends NodeEvent {
|
39 | selectedItem: string;
|
40 | constructor(node: Tree, selectedItem: string);
|
41 | }
|
42 | export declare class LoadNextLevelEvent extends NodeEvent {
|
43 | constructor(node: Tree);
|
44 | }
|
45 | export declare class NodeCheckedEvent extends NodeEvent {
|
46 | constructor(node: Tree);
|
47 | }
|
48 | export declare class NodeUncheckedEvent extends NodeEvent {
|
49 | constructor(node: Tree);
|
50 | }
|
51 | export declare class NodeIndeterminedEvent extends NodeEvent {
|
52 | constructor(node: Tree);
|
53 | }
|