File

src/components/kendoUI/treeview/tree-node.component.ts

Description

Copyright (C) Mobilize.Net info@mobilize.net - All Rights Reserved

This file is part of the Mobilize Frameworks, which is proprietary and confidential.

NOTICE: All information contained herein is, and remains the property of Mobilize.Net Corporation. The intellectual and technical concepts contained herein are proprietary to Mobilize.Net Corporation and may be covered by U.S. Patents, and are protected by trade secret or copyright law. Dissemination of this information or reproduction of this material is strictly forbidden unless prior written permission is obtained from Mobilize.Net Corporation.

Index

Properties
Accessors

Constructor

constructor(node?: any, parent?: TreeNode, index?: string)

Constructor for the tree node item

Parameters :
Name Type Optional Description
node any Yes

Model node to create a new tree node item.

parent TreeNode Yes

TreeNode parent of the current node, if is a top node the parent is null.

index string Yes

WebMap format index, consist the node levels separated by underscores (0_1_3)

Properties

Private internalNode
Type : any

Internal WebMap representation model of tree node

nodes
Type : TreeNode[]

Children nodes collection

parent
Type : TreeNode

TreeNode parent of the current node, if is a top node the parent is null.

webMapIndex
Type : string

WebMap's index, consist the node levels separated by underscores (0_1_3)

Accessors

id
getid()

WebMap's unique id

Returns : string
mapperId
getmapperId()

WebMap's type identificator to map the object type for serialization and create dynamic instances

Returns : string
text
gettext()

Gets the text displayed in the label of the tree node.

Returns : string
settext(value: string)

Sets the text displayed in the label of the tree node.

Parameters :
Name Type Optional
value string No
Returns : void
isVisible
getisVisible()

Gets a value indicating whether the tree node is visible or partially visible.

Returns : boolean
checked
getchecked()

Gets a value indicating whether the tree node is in a checked state.

Returns : boolean
setchecked(value: boolean)

Sets a value indicating whether the tree node is in a checked state.

Parameters :
Name Type Optional
value boolean No
Returns : void
foreColor
getforeColor()

Gets the foreground color of the tree node.

Returns : string
setforeColor(value: string)

Sets the foreground color of the tree node.

Parameters :
Name Type Optional
value string No
Returns : void
backColor
getbackColor()

Gets the background color of the tree node.

Returns : string
setbackColor(value: string)

Sets the background color of the tree node.

Parameters :
Name Type Optional
value string No
Returns : void
image
getimage()

Gets image string associated with the tree node

Returns : string
setimage(value: string)

Sets image string associated with the tree node

Parameters :
Name Type Optional
value string No
Returns : void
tooltipText
gettooltipText()

Gets the text that appears when the mouse pointer hovers over a tree node.

Returns : string
settooltipText(value: string)

Sets the text that appears when the mouse pointer hovers over a tree node.

Parameters :
Name Type Optional
value string No
Returns : void

results matching ""

    No results matching ""