Win32TreeCheckable

This is generic Win32 tree with a check box near each item. Use DoSelectItem to select and DoExpand to expand/collapse a particular item. Use DoCheckItem to change corresponding check box state.

Extends SeSSimulatedObject

Behavior Pattern: Win32ItemSelectable

Property Summary

Property Description Getter Setter
ItemCount Number of items. GetItemCount

Action Summary

Action Description
DoSelectItem Selects item of this object.

Property Detail

ItemCount

Number of items.

Type: number

Accessors: GetItemCount

Action Detail

DoSelectItem(itemName)

Selects item of this object.

Parameters:

Name Type Description
itemName string This is a name of item to select. Or an array of item names in the case of multi-select.

Returns:

boolean: 'true' if operation is successful, 'false' otherwise

Behavior Pattern: Win32ItemCheckable

Property Summary

Property Description Getter Setter
ItemCount Number of items. GetItemCount

Action Summary

Action Description
DoCheckItem Checks an item of this object.

Property Detail

ItemCount

Number of items.

Type: number

Accessors: GetItemCount

Action Detail

DoCheckItem(itemName)

Checks an item of this object.

Parameters:

Name Type Description
itemName string Name of the item to check

Behavior Pattern: Win32ItemExpandable

Action Summary

Action Description
DoExpand Expands an item of this object.

Action Detail

DoExpand(itemName)

Expands an item of this object.

Parameters:

Name Type Description
itemName string Name of the item to expand

Returns:

boolean: 'true' if operation was successful, 'false' otherwise