youki
3 years ago
3 changed files with 40 additions and 0 deletions
@ -0,0 +1,21 @@
|
||||
import { Pane } from '../../base/pane'; |
||||
|
||||
export declare class MultiLayerSelectLevelTree extends Pane { |
||||
static xtype: string; |
||||
|
||||
static EVENT_CHANGE: string; |
||||
|
||||
initTree<T>(nodes: T): void; |
||||
|
||||
populate<T>(nodes?: T[]): void; |
||||
|
||||
setValue(v: string[] | string): void; |
||||
|
||||
getValue(): string[]; |
||||
|
||||
getAllLeaves<T>(): T[]; |
||||
|
||||
getNodeById<T>(id: string): T; |
||||
|
||||
getNodeByValue<T>(id: string): T; |
||||
} |
@ -0,0 +1,13 @@
|
||||
import { Widget } from '../../core/widget'; |
||||
|
||||
export declare class SelectTreeExpander extends Widget { |
||||
static xtype: string; |
||||
|
||||
getAllLeaves<T>(): T[]; |
||||
|
||||
setValue(v: any): void; |
||||
|
||||
getValue<T>(): T; |
||||
|
||||
populate<T>(items: T[]): void; |
||||
} |
Loading…
Reference in new issue