soui 5.0.0.1
 
Loading...
Searching...
No Matches
IListViewItemLocator Struct Reference
Inheritance diagram for IListViewItemLocator:
IObjRef TObjRefImpl< IListViewItemLocator > SListViewItemLocatorFix SListViewItemLocatorFlex

Public Member Functions

long AddRef () PURE
 添加引用
 
long Release () PURE
 释放引用
 
void OnFinalRelease () PURE
 释放对象
 
void SetAdapter (ILvAdapter *pAdapter) PURE
 设置适配器
 
void OnDataSetChanged () PURE
 数据改变后的处理
 
BOOL IsFixHeight () SCONST PURE
 获取表项固定高度标志
 
int GetItemHeight (int iItem) SCONST PURE
 获取表项高度
 
void SetItemHeight (int iItem, int nHeight) PURE
 设定表项高度
 
int GetTotalHeight () PURE
 获取列表总高度
 
int Item2Position (int iItem) PURE
 获取表项在列表布局中的坐标
 
int Position2Item (int position) PURE
 将坐标转换成表项索引
 
int GetScrollLineSize () SCONST PURE
 获取滚动行大小
 
int GetDividerSize () SCONST PURE
 获取分割符大小
 
void SetScale (int nScale) PURE
 设定放大比例
 
- Public Member Functions inherited from IObjRef
long AddRef () PURE
 Increases the reference count.
 
long Release () PURE
 Decreases the reference count.
 
void OnFinalRelease () PURE
 Called when the reference count reaches zero and the object is about to be released.
 

Detailed Description

Definition at line 10 of file SListViewItemLocator-i.h.

Member Function Documentation

◆ GetDividerSize()

int IListViewItemLocator::GetDividerSize ( )

获取分割符大小

Returns
int–分割符大小

◆ GetItemHeight()

int IListViewItemLocator::GetItemHeight ( int iItem)

获取表项高度

Parameters
iItemint–表项索引
Returns
int–表项高度

◆ GetScrollLineSize()

int IListViewItemLocator::GetScrollLineSize ( )

获取滚动行大小

Returns
int–滚动行大小

◆ GetTotalHeight()

int IListViewItemLocator::GetTotalHeight ( )

获取列表总高度

Returns
int–列表总高度

◆ IsFixHeight()

BOOL IListViewItemLocator::IsFixHeight ( )

获取表项固定高度标志

Returns
TRUE–固定高度,FALSE–可变高度

◆ Item2Position()

int IListViewItemLocator::Item2Position ( int iItem)

获取表项在列表布局中的坐标

Parameters
iItemint–表项索引
Returns
int–坐标

◆ OnDataSetChanged()

void IListViewItemLocator::OnDataSetChanged ( )

数据改变后的处理

Returns

◆ Position2Item()

int IListViewItemLocator::Position2Item ( int position)

将坐标转换成表项索引

Parameters
positionint–表项坐标
Returns
int–表项索引

◆ SetAdapter()

void IListViewItemLocator::SetAdapter ( ILvAdapter * pAdapter)

设置适配器

Parameters
pAdapterILvAdapter *–适配器指针
Returns

◆ SetItemHeight()

void IListViewItemLocator::SetItemHeight ( int iItem,
int nHeight )

设定表项高度

Parameters
iItemint–表项索引
nHeightint–表项高度
Returns

◆ SetScale()

void IListViewItemLocator::SetScale ( int nScale)

设定放大比例

Parameters
nScaleint–放大比例
Returns
Remarks
100为原始大小

The documentation for this struct was generated from the following file: