iOSTable

Extends iOSObject

Behavior Pattern: iOSObjectTableSelectableBehavior

Property Summary

Property Description Getter Setter
ItemCount Number of items. GetItemCount
ItemIndexByName Returns item index by its name. GetItemIndexByName
ItemTextAt Text of the item at the specified index GetItemTextAt

Action Summary

Action Description
DoSelectItem Selects an item with the specified index.

Property Detail

ItemCount

Number of items.

Type: number

Accessors: GetItemCount

ItemIndexByName

Returns item index by its name. 'false' if name is not found.

Getter Parameters:

Name Type Description
name string

Type: number|boolean

Accessors: GetItemIndexByName

ItemTextAt

Text of the item at the specified index

Type: string

Accessors: GetItemTextAt

Action Detail

DoSelectItem(index)

Selects an item with the specified index.

Parameters:

Name Type Description
index number Item index.

Returns:

boolean: 'true' if success, 'false' otherwise.