Interface ITable
A table object in a mobile application.
Inherited Members
Namespace: HP.LFT.SDK.Mobile
Assembly: HP.LFT.SDK.dll
Syntax
public interface ITable : ITestObject, ITestObjectDescriber, IUiObjectBase, IEnabledProvider, IScrollable
Methods
Delete(uint)
Deletes the specified item from the table. (iOS only)
Declaration
void Delete(uint item)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | item | The numeric index of the item to delete. |
Delete(uint, uint)
Deletes the specified item or section in the table. (iOS Only)
Declaration
void Delete(uint section, uint item)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | section | The numeric index of the section from which to delete the specified Item |
| uint | item | The numeric index of the item to delete |
Insert(uint)
Inserts an item at the specified location in the table. (iOS Only)
Declaration
void Insert(uint item)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | item | The numeric index of the location to insert the item. |
Insert(uint, uint)
Inserts an item at the specified location in the table. (iOS only)
Declaration
void Insert(uint section, uint item)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | section | The numeric index of the section in which to insert the specified item |
| uint | item | The numeric index of the location for the new item within the section |
MoveItem(uint, uint)
Moves an item or section in the table (iOS only)
Declaration
void MoveItem(uint srcItem, uint destItem)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | srcItem | The numeric index of the item to move |
| uint | destItem | The numeric index of the new location for the item |
MoveItem(uint, uint, uint, uint)
Moves an item or section in the table (iOS only)
Declaration
void MoveItem(uint srcSection, uint srcItem, uint destSection, uint destItem)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | srcSection | The numeric index of the section from which to move the specified SrcItem |
| uint | srcItem | The numeric index of the item to move |
| uint | destSection | The numeric index of the section in which to place the specified DestItem |
| uint | destItem | The numeric index of the new location for the item |
Scroll(uint)
Scrolls to the specified item in the table.
Declaration
void Scroll(uint item)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | item | The numeric index of the item to scroll to. |
Scroll(uint, uint)
Scrolls to the specified item in the specified section of the table.
Declaration
void Scroll(uint section, uint item)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | section | The numeric index of the section containing the item to scroll to. |
| uint | item | The numeric index of the item to scroll to. |
Select(uint)
Selects item in the table.
Declaration
void Select(uint item)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | item | The numeric index of the item to select. |
Select(uint, uint)
Selects an item in a section of the table.
Declaration
void Select(uint section, uint item)
Parameters
| Type | Name | Description |
|---|---|---|
| uint | section | The numeric index of the section containing the item to select. |
| uint | item | The numeric index of the item to select. |