Class ecm.widget.SingleValueTreePane


Extends dijit._Widget.
Provides a widget that contains a tree in which the user can select one value at a time. This widget is used for IBM FileNet Content Manager object stores.
Defined in: <ecm\widget\SingleValueTreePane.js>.

Constructor Summary

Constructor Attributes Constructor Name and Description
 

Field Summary

Field Attributes Field Name and Description
 
The tree data.
 
Boolean indicating if the tree is editable.
 
The selected value.
 
Boolean indicating if the none value is shown in the tree.

Method Summary

Method Attributes Method Name and Description
 
Retrieves the label for the selected node.
 
getTooltipText(treeModel, treeNode)
Retrieves the tooltip text for the tree node.
 
Retrieves the value for the selected node.
 
Event fired when the user double-clicks and we want the drop-down input to know there was a change.
 
Event fired when the user clicks the OK button to save the changes.
 
Event fired when showing the pane.
 

Constructor Detail

ecm.widget.SingleValueTreePane()

Field Detail

availableData

The tree data. It has a displayName and choices.

editable

Boolean indicating if the tree is editable.

selectedValue

The selected value. Also used to select the value in the tree when the tree is constructed.

showNone

Boolean indicating if the none value is shown in the tree.

Method Detail

getLabel()

Retrieves the label for the selected node.
Returns:
A label string.

getTooltipText(treeModel, treeNode)

Retrieves the tooltip text for the tree node.
Parameters:
treeModel
The tree model.
treeNode
The tree node.
Returns:
The tooltip text string.

getValue()

Retrieves the value for the selected node.
Returns:
A value.

onChange()

Event fired when the user double-clicks and we want the drop-down input to know there was a change.

onSave()

Event fired when the user clicks the OK button to save the changes.

onShow()

Event fired when showing the pane.

postCreate()