Class DwtHeaderTreeItem
This class implements a tree item widget.
Defined in: DwtHeaderTreeItem.js.
Class Summary
Constructor Attributes |
Constructor Name and Description |
|
Creates a Header Tree Item.
|
Class Detail
DwtHeaderTreeItem(params)
Creates a Header Tree Item.
Author: Dave Comfort.
- Parameters:
-
{hash} params
- a hash of parameters
-
{DwtComposite} params.parent
- the parent widget
-
{number} params.index
- the index at which to add this control among parent's children
-
{string} params.text
- the label text for the tree item
-
{string} params.imageInfo
- the icon for the tree item
-
{boolean} params.deferred
- if
true , postpone initialization until needed.
-
{string} params.className
- the CSS class
-
{constant} params.posStyle
- the positioning style
-
{boolean} params.forceNotifySelection
- force notify selection even if checked style
-
{boolean} params.forceNotifyAction
- force notify action even if checked style
-
{hash} params.optButton
- a hash of data for showing a options button in the item: image, tooltip, callback
-
{boolean} params.selectable
- if
true , this item is selectable
|