-
Notifications
You must be signed in to change notification settings - Fork 0
/
listcolumn.go
150 lines (113 loc) · 3.13 KB
/
listcolumn.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
//----------------------------------------
// 代码由GenlibVcl工具自动生成。
// Copyright © ying32. All Rights Reserved.
//
//----------------------------------------
package vcl
import (
. "gitee.com/ying32/govcl/vcl/api"
. "gitee.com/ying32/govcl/vcl/types"
)
type TListColumn struct {
IObject
instance uintptr
}
func NewListColumn() *TListColumn {
l := new(TListColumn)
l.instance = ListColumn_Create()
return l
}
func ListColumnFromInst(inst uintptr) *TListColumn {
l := new(TListColumn)
l.instance = inst
return l
}
func ListColumnFromObj(obj IObject) *TListColumn {
l := new(TListColumn)
l.instance = CheckPtr(obj)
return l
}
func (l *TListColumn) Free() {
if l.instance != 0 {
ListColumn_Free(l.instance)
l.instance = 0
}
}
func (l *TListColumn) Instance() uintptr {
return l.instance
}
func (l *TListColumn) IsValid() bool {
return l.instance != 0
}
func (l *TListColumn) Assign(Source IObject) {
ListColumn_Assign(l.instance, CheckPtr(Source))
}
func (l *TListColumn) GetNamePath() string {
return ListColumn_GetNamePath(l.instance)
}
func (l *TListColumn) ClassName() string {
return ListColumn_ClassName(l.instance)
}
func (l *TListColumn) Equals(Obj IObject) bool {
return ListColumn_Equals(l.instance, CheckPtr(Obj))
}
func (l *TListColumn) GetHashCode() int32 {
return ListColumn_GetHashCode(l.instance)
}
func (l *TListColumn) ToString() string {
return ListColumn_ToString(l.instance)
}
func (l *TListColumn) Alignment() TAlignment {
return ListColumn_GetAlignment(l.instance)
}
func (l *TListColumn) SetAlignment(value TAlignment) {
ListColumn_SetAlignment(l.instance, value)
}
func (l *TListColumn) AutoSize() bool {
return ListColumn_GetAutoSize(l.instance)
}
func (l *TListColumn) SetAutoSize(value bool) {
ListColumn_SetAutoSize(l.instance, value)
}
func (l *TListColumn) Caption() string {
return ListColumn_GetCaption(l.instance)
}
func (l *TListColumn) SetCaption(value string) {
ListColumn_SetCaption(l.instance, value)
}
func (l *TListColumn) ImageIndex() int32 {
return ListColumn_GetImageIndex(l.instance)
}
func (l *TListColumn) SetImageIndex(value int32) {
ListColumn_SetImageIndex(l.instance, value)
}
func (l *TListColumn) MaxWidth() int32 {
return ListColumn_GetMaxWidth(l.instance)
}
func (l *TListColumn) SetMaxWidth(value int32) {
ListColumn_SetMaxWidth(l.instance, value)
}
func (l *TListColumn) MinWidth() int32 {
return ListColumn_GetMinWidth(l.instance)
}
func (l *TListColumn) SetMinWidth(value int32) {
ListColumn_SetMinWidth(l.instance, value)
}
func (l *TListColumn) Tag() int32 {
return ListColumn_GetTag(l.instance)
}
func (l *TListColumn) SetTag(value int32) {
ListColumn_SetTag(l.instance, value)
}
func (l *TListColumn) Width() int32 {
return ListColumn_GetWidth(l.instance)
}
func (l *TListColumn) SetWidth(value int32) {
ListColumn_SetWidth(l.instance, value)
}
func (l *TListColumn) Index() int32 {
return ListColumn_GetIndex(l.instance)
}
func (l *TListColumn) SetIndex(value int32) {
ListColumn_SetIndex(l.instance, value)
}