炫彩数据适配器类

package
v0.0.0-...-50cf36d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package adapter 数据适配器.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdapterListView

type AdapterListView struct {
	// contains filtered or unexported fields
}

数据适配器-列表视元素.

func X创建适配器列表视

func X创建适配器列表视() *AdapterListView

ff:创建适配器列表视

func X创建适配器列表视并按句柄

func X创建适配器列表视并按句柄(handle int) *AdapterListView

ff:创建适配器列表视并按句柄 handle:

func (*AdapterListView) X删除全部

func (a *AdapterListView) X删除全部() int

ff:删除全部

func (*AdapterListView) X删除全部子项

func (a *AdapterListView) X删除全部子项(组索引 int) int

ff:删除全部子项 iGroup:组索引

func (*AdapterListView) X删除全部组

func (a *AdapterListView) X删除全部组() int

ff:删除全部组

func (*AdapterListView) X删除全部项

func (a *AdapterListView) X删除全部项() int

ff:删除全部项

func (*AdapterListView) X删除项

func (a *AdapterListView) X删除项(组索引 int, 项索引 int) bool

ff:删除项 iItem:项索引 iGroup:组索引

func (*AdapterListView) X取引用计数

func (a *AdapterListView) X取引用计数() int

ff:取引用计数

func (*AdapterListView) X取组中项数量

func (a *AdapterListView) X取组中项数量(组索引 int) int

ff:取组中项数量 iGroup:组索引

func (*AdapterListView) X取组数量

func (a *AdapterListView) X取组数量() int

ff:取组数量

func (*AdapterListView) X启用自动销毁

func (a *AdapterListView) X启用自动销毁(是否启用 bool) int

ff:启用自动销毁 bEnable:是否启用

func (*AdapterListView) X增加引用计数

func (a *AdapterListView) X增加引用计数() int

ff:增加引用计数

func (*AdapterListView) X添加组图片

func (a *AdapterListView) X添加组图片(图片句柄 int, 插入位置 int) int

ff:添加组图片 iPos:插入位置 hImage:图片句柄

func (*AdapterListView) X添加组图片EX

func (a *AdapterListView) X添加组图片EX(字段称 string, 图片句柄 int, 插入位置 int) int

ff:添加组图片EX iPos:插入位置 hImage:图片句柄 pName:字段称

func (*AdapterListView) X添加组文本

func (a *AdapterListView) X添加组文本(值 string, 插入位置 int) int

ff:添加组文本 iPos:插入位置 pValue:值

func (*AdapterListView) X添加组文本EX

func (a *AdapterListView) X添加组文本EX(字段称 string, 值 string, 插入位置 int) int

ff:添加组文本EX iPos:插入位置 pValue:值 pName:字段称

func (*AdapterListView) X添加项图片

func (a *AdapterListView) X添加项图片(组索引 int, 图片句柄 int, 插入位置 int) int

ff:添加项图片 iPos:插入位置 hImage:图片句柄 iGroup:组索引

func (*AdapterListView) X添加项图片EX

func (a *AdapterListView) X添加项图片EX(组索引 int, 字段称 string, 图片句柄 int, 插入位置 int) int

ff:添加项图片EX iPos:插入位置 hImage:图片句柄 pName:字段称 iGroup:组索引

func (*AdapterListView) X添加项文本

func (a *AdapterListView) X添加项文本(组索引 int, 值 string, 插入位置 int) int

ff:添加项文本 iPos:插入位置 pValue:值 iGroup:组索引

func (*AdapterListView) X添加项文本EX

func (a *AdapterListView) X添加项文本EX(组索引 int, 字段称 string, 值 string, 插入位置 int) int

ff:添加项文本EX iPos:插入位置 pValue:值 pName:字段称 iGroup:组索引

func (*AdapterListView) X组删除列

func (a *AdapterListView) X组删除列(列索引 int) int

ff:组删除列 iColumn:列索引

func (*AdapterListView) X组删除项

func (a *AdapterListView) X组删除项(组索引 int) bool

ff:组删除项 iGroup:组索引

func (*AdapterListView) X组取图片

func (a *AdapterListView) X组取图片(组索引 int, 列索引 int) int

ff:组取图片 iColumn:列索引 iGroup:组索引

func (*AdapterListView) X组取图片EX

func (a *AdapterListView) X组取图片EX(组索引 int, 字段名称 string) int

ff:组取图片EX pName:字段名称 iGroup:组索引

func (*AdapterListView) X组取文本

func (a *AdapterListView) X组取文本(组索引 int, 列索引 int) string

ff:组取文本 iColumn:列索引 iGroup:组索引

func (*AdapterListView) X组取文本EX

func (a *AdapterListView) X组取文本EX(组索引 int, 字段名称 string) string

ff:组取文本EX pName:字段名称 iGroup:组索引

func (*AdapterListView) X组添加列

func (a *AdapterListView) X组添加列(字段称 string) int

ff:组添加列 pName:字段称

func (*AdapterListView) X组设置图片

func (a *AdapterListView) X组设置图片(组索引 int, 列索引 int, 图片句柄 int) bool

ff:组设置图片 hImage:图片句柄 iColumn:列索引 iGroup:组索引

func (*AdapterListView) X组设置图片EX

func (a *AdapterListView) X组设置图片EX(组索引 int, 字段名 string, 图片句柄 int) bool

ff:组设置图片EX hImage:图片句柄 pName:字段名 iGroup:组索引

func (*AdapterListView) X组设置文本

func (a *AdapterListView) X组设置文本(组索引 int, 列索引 int, 值 string) bool

ff:组设置文本 pValue:值 iColumn:列索引 iGroup:组索引

func (*AdapterListView) X组设置文本EX

func (a *AdapterListView) X组设置文本EX(组索引 int, 字段名 string, 值 string) bool

ff:组设置文本EX pValue:值 pName:字段名 iGroup:组索引

func (*AdapterListView) X释放引用计数

func (a *AdapterListView) X释放引用计数() int

ff:释放引用计数

func (*AdapterListView) X销毁

func (a *AdapterListView) X销毁() int

ff:销毁

func (*AdapterListView) X项删除列

func (a *AdapterListView) X项删除列(列索引 int) int

ff:项删除列 iColumn:列索引

func (*AdapterListView) X项取图片

func (a *AdapterListView) X项取图片(组索引 int, 项索引 int, 列索引 int) int

ff:项取图片 iColumn:列索引 iItem:项索引 iGroup:组索引

func (*AdapterListView) X项取文本

func (a *AdapterListView) X项取文本(组索引 int, 项索引 int, 列索引 int) string

ff:项取文本 iColumn:列索引 iItem:项索引 iGroup:组索引

func (*AdapterListView) X项添加列

func (a *AdapterListView) X项添加列(字段称 string) int

ff:项添加列 pName:字段称

func (*AdapterListView) X项置图片

func (a *AdapterListView) X项置图片(组索引 int, 项索引 int, 列索引 int, 图片句柄 int) bool

ff:项置图片 hImage:图片句柄 iColumn:列索引 iItem:项索引 iGroup:组索引

func (*AdapterListView) X项置图片EX

func (a *AdapterListView) X项置图片EX(组索引 int, 项索引 int, 字段称 string, 图片句柄 int) bool

ff:项置图片EX hImage:图片句柄 pName:字段称 iItem:项索引 iGroup:组索引

func (*AdapterListView) X项置文本

func (a *AdapterListView) X项置文本(组索引 int, 项索引 int, 列索引 int, 值 string) bool

ff:项置文本 pValue:值 iColumn:列索引 iItem:项索引 iGroup:组索引

func (*AdapterListView) X项置文本EX

func (a *AdapterListView) X项置文本EX(组索引 int, 项索引 int, 字段称 string, 值 string) bool

ff:项置文本EX pValue:值 pName:字段称 iItem:项索引 iGroup:组索引

func (*AdapterListView) X项获取图片EX

func (a *AdapterListView) X项获取图片EX(组索引 int, 项索引 int, 字段称 string) int

ff:项获取图片EX pName:字段称 iItem:项索引 iGroup:组索引

func (*AdapterListView) X项获取文本EX

func (a *AdapterListView) X项获取文本EX(组索引 int, 项索引 int, 字段称 string) string

ff:项获取文本EX pName:字段称 iItem:项索引 iGroup:组索引

type AdapterMap

type AdapterMap struct {
	// contains filtered or unexported fields
}

AdapterMap 数据适配器-单列Map-列表头(listHeader).

func X创建适配器MAP

func X创建适配器MAP() *AdapterMap

ff:创建适配器MAP

func X创建适配器MAP并按句柄

func X创建适配器MAP并按句柄(handle int) *AdapterMap

ff:创建适配器MAP并按句柄 handle:

func (*AdapterMap) X删除项

func (a *AdapterMap) X删除项(字段称 string) bool

ff:删除项 pName:字段称

func (*AdapterMap) X取引用计数

func (a *AdapterMap) X取引用计数() int

ff:取引用计数

func (*AdapterMap) X取项图片

func (a *AdapterMap) X取项图片(字段称 string) int

ff:取项图片 pName:字段称

func (*AdapterMap) X取项数量

func (a *AdapterMap) X取项数量() int

ff:取项数量

func (*AdapterMap) X取项文本

func (a *AdapterMap) X取项文本(字段称 string) string

ff:取项文本 pName:字段称

func (*AdapterMap) X启用自动销毁

func (a *AdapterMap) X启用自动销毁(是否启用 bool) int

ff:启用自动销毁 bEnable:是否启用

func (*AdapterMap) X增加引用计数

func (a *AdapterMap) X增加引用计数() int

ff:增加引用计数

func (*AdapterMap) X添加项图片

func (a *AdapterMap) X添加项图片(字段称 string, 图片句柄 int) bool

ff:添加项图片 hImage:图片句柄 pName:字段称

func (*AdapterMap) X添加项文本

func (a *AdapterMap) X添加项文本(字段称 string, 值 string) bool

ff:添加项文本 pValue:值 pName:字段称

func (*AdapterMap) X置项图片

func (a *AdapterMap) X置项图片(字段称 string, 值 int) bool

ff:置项图片 hImage:值 pName:字段称

func (*AdapterMap) X置项文本

func (a *AdapterMap) X置项文本(字段称 string, 值 string) bool

ff:置项文本 pValue:值 pName:字段称

func (*AdapterMap) X释放引用计数

func (a *AdapterMap) X释放引用计数() int

ff:释放引用计数

func (*AdapterMap) X销毁

func (a *AdapterMap) X销毁() int

ff:销毁

type AdapterTable

type AdapterTable struct {
	// contains filtered or unexported fields
}

AdapterTable 数据适配器-XList-XListBox.

func X创建适配器表

func X创建适配器表() *AdapterTable

ff:创建适配器表

func X创建适配器表并按句柄

func X创建适配器表并按句柄(handle int) *AdapterTable

ff:创建适配器表并按句柄 handle:

func (*AdapterTable) X删除列全部

func (a *AdapterTable) X删除列全部() int

ff:删除列全部

func (*AdapterTable) X删除项

func (a *AdapterTable) X删除项(项索引 int) bool

ff:删除项 iItem:项索引

func (*AdapterTable) X删除项EX

func (a *AdapterTable) X删除项EX(项起始索引 int, 删除项数量 int) bool

ff:删除项EX nCount:删除项数量 iItem:项起始索引

func (*AdapterTable) X删除项全部

func (a *AdapterTable) X删除项全部() int

ff:删除项全部

func (*AdapterTable) X取列数量

func (a *AdapterTable) X取列数量() int

ff:取列数量

func (*AdapterTable) X取引用计数

func (a *AdapterTable) X取引用计数() int

ff:取引用计数

func (*AdapterTable) X取项图片

func (a *AdapterTable) X取项图片(项索引 int, 列索引 int) int

ff:取项图片 iColumn:列索引 iItem:项索引

func (*AdapterTable) X取项图片EX

func (a *AdapterTable) X取项图片EX(项索引 int, 字段称 string) int

ff:取项图片EX pName:字段称 iItem:项索引

func (*AdapterTable) X取项数据类型

func (a *AdapterTable) X取项数据类型(项索引 int, 列索引 int) 炫彩常量类.Adapter_Date_Type_

ff:取项数据类型 iColumn:列索引 iItem:项索引

func (*AdapterTable) X取项数据类型EX

func (a *AdapterTable) X取项数据类型EX(项索引 int, 字段称 string) 炫彩常量类.Adapter_Date_Type_

ff:取项数据类型EX pName:字段称 iItem:项索引

func (*AdapterTable) X取项数量

func (a *AdapterTable) X取项数量() int

ff:取项数量

func (*AdapterTable) X取项整数值

func (a *AdapterTable) X取项整数值(项索引 int, 列索引 int, 接收返还值 *int32) bool

ff:取项整数值 pOutValue:接收返还值 iColumn:列索引 iItem:项索引

func (*AdapterTable) X取项整数值EX

func (a *AdapterTable) X取项整数值EX(项索引 int, 字段称 string, 接收返还值 *int32) bool

ff:取项整数值EX pOutValue:接收返还值 pName:字段称 iItem:项索引

func (*AdapterTable) X取项文本

func (a *AdapterTable) X取项文本(项索引 int, 列索引 int) string

ff:取项文本 iColumn:列索引 iItem:项索引

func (*AdapterTable) X取项文本EX

func (a *AdapterTable) X取项文本EX(项索引 int, 字段称 string) string

ff:取项文本EX pName:字段称 iItem:项索引

func (*AdapterTable) X取项浮点值

func (a *AdapterTable) X取项浮点值(项索引 int, 列索引 int, 接收返还值 *float32) bool

ff:取项浮点值 pOutValue:接收返还值 iColumn:列索引 iItem:项索引

func (*AdapterTable) X取项浮点值EX

func (a *AdapterTable) X取项浮点值EX(项索引 int, 字段称 string, 接收返还值 *float32) bool

ff:取项浮点值EX pOutValue:接收返还值 pName:字段称 iItem:项索引

func (*AdapterTable) X启用自动销毁

func (a *AdapterTable) X启用自动销毁(是否启用 bool) int

ff:启用自动销毁 bEnable:是否启用

func (*AdapterTable) X增加引用计数

func (a *AdapterTable) X增加引用计数() int

ff:增加引用计数

func (*AdapterTable) X排序

func (a *AdapterTable) X排序(要排序的列索引 int, 升序排序 bool) int

ff:排序 bAscending:升序排序 iColumn:要排序的列索引

func (*AdapterTable) X插入项图片

func (a *AdapterTable) X插入项图片(插入位置索引 int, 图片句柄 int) int

ff:插入项图片 hImage:图片句柄 iItem:插入位置索引

func (*AdapterTable) X插入项图片EX

func (a *AdapterTable) X插入项图片EX(插入位置索引 int, 字段称 string, 图片句柄 int) int

ff:插入项图片EX hImage:图片句柄 pName:字段称 iItem:插入位置索引

func (*AdapterTable) X插入项文本

func (a *AdapterTable) X插入项文本(插入位置索引 int, 值 string) int

ff:插入项文本 pValue:值 iItem:插入位置索引

func (*AdapterTable) X插入项文本EX

func (a *AdapterTable) X插入项文本EX(插入位置索引 int, 字段称 string, 值 string) int

ff:插入项文本EX pValue:值 pName:字段称 iItem:插入位置索引

func (*AdapterTable) X添加列

func (a *AdapterTable) X添加列(字段称 string) int

ff:添加列 pName:字段称

func (*AdapterTable) X添加项图片

func (a *AdapterTable) X添加项图片(图片句柄 int) int

ff:添加项图片 hImage:图片句柄

func (*AdapterTable) X添加项图片EX

func (a *AdapterTable) X添加项图片EX(字段称 string, 图片句柄 int) int

ff:添加项图片EX hImage:图片句柄 pName:字段称

func (*AdapterTable) X添加项文本

func (a *AdapterTable) X添加项文本(值 string) int

ff:添加项文本 pValue:值

func (*AdapterTable) X添加项文本EX

func (a *AdapterTable) X添加项文本EX(字段称 string, 值 string) int

ff:添加项文本EX pValue:值 pName:字段称

func (*AdapterTable) X置列

func (a *AdapterTable) X置列(列名 string) int

ff:置列 pColName:列名

func (*AdapterTable) X置项图片

func (a *AdapterTable) X置项图片(项索引 int, 列索引 int, 图片句柄 int) bool

ff:置项图片 hImage:图片句柄 iColumn:列索引 iItem:项索引

func (*AdapterTable) X置项图片EX

func (a *AdapterTable) X置项图片EX(项索引 int, 字段称 string, 图片句柄 int) bool

ff:置项图片EX hImage:图片句柄 pName:字段称 iItem:项索引

func (*AdapterTable) X置项整数值

func (a *AdapterTable) X置项整数值(项索引 int, 列索引 int, 值 int32) bool

ff:置项整数值 nValue:值 iColumn:列索引 iItem:项索引

func (*AdapterTable) X置项整数值EX

func (a *AdapterTable) X置项整数值EX(项索引 int, 字段称 string, 值 int32) bool

ff:置项整数值EX nValue:值 pName:字段称 iItem:项索引

func (*AdapterTable) X置项文本

func (a *AdapterTable) X置项文本(项索引 int, 列索引 int, 值 string) bool

ff:置项文本 pValue:值 iColumn:列索引 iItem:项索引

func (*AdapterTable) X置项文本EX

func (a *AdapterTable) X置项文本EX(项索引 int, 字段称 string, 值 string) bool

ff:置项文本EX pValue:值 pName:字段称 iItem:项索引

func (*AdapterTable) X置项浮点值

func (a *AdapterTable) X置项浮点值(项索引 int, 列索引 int, 值 float32) bool

ff:置项浮点值 fValue:值 iColumn:列索引 iItem:项索引

func (*AdapterTable) X置项浮点值EX

func (a *AdapterTable) X置项浮点值EX(项索引 int, 字段称 string, 值 float32) bool

ff:置项浮点值EX fValue:值 pName:字段称 iItem:项索引

func (*AdapterTable) X释放引用计数

func (a *AdapterTable) X释放引用计数() int

ff:释放引用计数

func (*AdapterTable) X销毁

func (a *AdapterTable) X销毁() int

ff:销毁

type AdapterTree

type AdapterTree struct {
	// contains filtered or unexported fields
}

AdapterTree 数据适配器-树元素.

func X创建适配器树

func X创建适配器树() *AdapterTree

ff:创建适配器树

func X创建适配器树并按句柄

func X创建适配器树并按句柄(handle int) *AdapterTree

ff:创建适配器树并按句柄 handle:

func (*AdapterTree) X删除列全部

func (a *AdapterTree) X删除列全部() int

ff:删除列全部

func (*AdapterTree) X删除项

func (a *AdapterTree) X删除项(项ID int) bool

ff:删除项 nID:项ID

func (*AdapterTree) X删除项全部

func (a *AdapterTree) X删除项全部() int

ff:删除项全部

func (*AdapterTree) X取列数量

func (a *AdapterTree) X取列数量() int

ff:取列数量

func (*AdapterTree) X取引用计数

func (a *AdapterTree) X取引用计数() int

ff:取引用计数

func (*AdapterTree) X取项图片

func (a *AdapterTree) X取项图片(项ID int, 列索引 int) int

ff:取项图片 iColumn:列索引 nID:项ID

func (*AdapterTree) X取项图片EX

func (a *AdapterTree) X取项图片EX(项ID int, 字段称 string) int

ff:取项图片EX pName:字段称 nID:项ID

func (*AdapterTree) X取项数量

func (a *AdapterTree) X取项数量() int

ff:取项数量

func (*AdapterTree) X取项文本

func (a *AdapterTree) X取项文本(项ID int, 列索引 int) string

ff:取项文本 iColumn:列索引 nID:项ID

func (*AdapterTree) X取项文本EX

func (a *AdapterTree) X取项文本EX(项ID int, 字段称 string) string

ff:取项文本EX pName:字段称 nID:项ID

func (*AdapterTree) X启用自动销毁

func (a *AdapterTree) X启用自动销毁(是否启用 bool) int

ff:启用自动销毁 bEnable:是否启用

func (*AdapterTree) X增加引用计数

func (a *AdapterTree) X增加引用计数() int

ff:增加引用计数

func (*AdapterTree) X插入项图片

func (a *AdapterTree) X插入项图片(图片句柄 int, 父ID int, 插入位置ID int) int

ff:插入项图片 insertID:插入位置ID nParentID:父ID hImage:图片句柄

func (*AdapterTree) X插入项图片EX

func (a *AdapterTree) X插入项图片EX(字段称 string, 图片句柄 int, 父ID int, 插入位置ID int) int

ff:插入项图片EX insertID:插入位置ID nParentID:父ID hImage:图片句柄 pName:字段称

func (*AdapterTree) X插入项文本

func (a *AdapterTree) X插入项文本(值 string, 父ID int, 插入位置ID int) int

ff:插入项文本 insertID:插入位置ID nParentID:父ID pValue:值

func (*AdapterTree) X插入项文本EX

func (a *AdapterTree) X插入项文本EX(字段称 string, 值 string, 父ID int, 插入位置ID int) int

ff:插入项文本EX insertID:插入位置ID nParentID:父ID pValue:值 pName:字段称

func (*AdapterTree) X添加列

func (a *AdapterTree) X添加列(字段称 string) int

ff:添加列 pName:字段称

func (*AdapterTree) X置列

func (a *AdapterTree) X置列(列名 string) int

ff:置列 pColName:列名

func (*AdapterTree) X置项图片

func (a *AdapterTree) X置项图片(项ID int, 列索引 int, 图片句柄 int) bool

ff:置项图片 hImage:图片句柄 iColumn:列索引 nID:项ID

func (*AdapterTree) X置项图片EX

func (a *AdapterTree) X置项图片EX(项ID int, 字段称 string, 图片句柄 int) bool

ff:置项图片EX hImage:图片句柄 pName:字段称 nID:项ID

func (*AdapterTree) X置项文本

func (a *AdapterTree) X置项文本(项ID int, 列索引 int, 值 string) bool

ff:置项文本 pValue:值 iColumn:列索引 nID:项ID

func (*AdapterTree) X置项文本EX

func (a *AdapterTree) X置项文本EX(项ID int, 字段称 string, 值 string) bool

ff:置项文本EX pValue:值 pName:字段称 nID:项ID

func (*AdapterTree) X释放引用计数

func (a *AdapterTree) X释放引用计数() int

ff:释放引用计数

func (*AdapterTree) X销毁

func (a *AdapterTree) X销毁() int

ff:销毁

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL