@eclipse-scout/core
Version:
Eclipse Scout runtime
32 lines • 1.15 kB
TypeScript
import { ObjectModel, ObjectModelWithId, ObjectOrModel, Session, Tree, TreeNode } from '../index';
export interface TreeNodeModel extends ObjectModel<TreeNode>, ObjectModelWithId {
parent?: Tree;
checked?: boolean;
childNodes?: ObjectOrModel<TreeNode>[];
/**
* Refers to the position of the node in the list of {@link childNodes} of its {@link TreeNode.parentNode}.
* If the node is a root node, it refers to the position in {@link Tree.nodes}.
*
* It is not necessary to provide a childNodeIndex because it will be calculated automatically.
* However, if it is provided, it will be respected.
*/
childNodeIndex?: number;
cssClass?: string;
enabled?: boolean;
expanded?: boolean;
expandedLazy?: boolean;
htmlEnabled?: boolean;
iconId?: string;
initialExpanded?: boolean;
lazyExpandingEnabled?: boolean;
leaf?: boolean;
level?: number;
session?: Session;
text?: string;
tooltipText?: string;
foregroundColor?: string;
backgroundColor?: string;
font?: string;
[property: string]: any;
}
//# sourceMappingURL=TreeNodeModel.d.ts.map