author | Claus Gittinger <cg@exept.de> |
Tue, 02 Apr 2019 18:02:15 +0200 | |
changeset 6040 | a3296ee359af |
parent 5838 | fe3e9e2260c5 |
child 6115 | 48230a24846a |
permissions | -rw-r--r-- |
5838 | 1 |
"{ Encoding: utf8 }" |
2 |
||
1716 | 3 |
" |
4 |
COPYRIGHT (c) 1997 by eXept Software AG |
|
5 |
All Rights Reserved |
|
6 |
||
7 |
This software is furnished under a license and may be used |
|
8 |
only in accordance with the terms of that license and with the |
|
9 |
inclusion of the above copyright notice. This software may not |
|
10 |
be provided or otherwise made available to, or used by, any |
|
11 |
other person. No title to or ownership of the software is |
|
12 |
hereby transferred. |
|
13 |
" |
|
1818 | 14 |
"{ Package: 'stx:libwidg2' }" |
15 |
||
5055 | 16 |
"{ NameSpace: Smalltalk }" |
17 |
||
1150 | 18 |
Object subclass:#DataSetLabel |
3772 | 19 |
instanceVariableNames:'label selector argument adjust font fgColor bgColor |
20 |
preferredHeight preferredWidth description' |
|
21 |
classVariableNames:'' |
|
22 |
poolDictionaries:'' |
|
23 |
category:'Views-DataSet' |
|
1150 | 24 |
! |
25 |
||
1716 | 26 |
!DataSetLabel class methodsFor:'documentation'! |
27 |
||
28 |
copyright |
|
29 |
" |
|
30 |
COPYRIGHT (c) 1997 by eXept Software AG |
|
31 |
All Rights Reserved |
|
32 |
||
33 |
This software is furnished under a license and may be used |
|
34 |
only in accordance with the terms of that license and with the |
|
35 |
inclusion of the above copyright notice. This software may not |
|
36 |
be provided or otherwise made available to, or used by, any |
|
37 |
other person. No title to or ownership of the software is |
|
38 |
hereby transferred. |
|
39 |
" |
|
40 |
||
41 |
||
42 |
||
43 |
||
3649 | 44 |
! |
45 |
||
46 |
documentation |
|
47 |
" |
|
48 |
This class keeps some info about a label. |
|
49 |
||
50 |
[author:] |
|
51 |
Claus Atzkern |
|
52 |
" |
|
53 |
! ! |
|
54 |
||
55 |
!DataSetLabel class methodsFor:'image specs'! |
|
56 |
||
57 |
sortIndicator |
|
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
58 |
<resource: #image> |
3649 | 59 |
"This resource specification was automatically generated |
60 |
by the ImageEditor of ST/X." |
|
61 |
"Do not manually edit this!! If it is corrupted, |
|
62 |
the ImageEditor may not be able to read the specification." |
|
63 |
" |
|
64 |
self sortIndicator inspect |
|
65 |
ImageEditor openOnClass:self andSelector:#sortIndicator |
|
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
66 |
Icon flushCachedIcons" |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
67 |
|
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
68 |
^ Icon constantNamed:'DataSetLabel class sortIndicator' |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
69 |
ifAbsentPut:[ |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
70 |
(Depth1Image new) |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
71 |
width:7; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
72 |
height:4; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
73 |
photometric:(#palette); |
5055 | 74 |
bitsPerSample:(#[1]); |
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
75 |
samplesPerPixel:(1); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
76 |
bits:(ByteArray fromPackedString:'@@B@0 @a'); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
77 |
colorMapFromArray:#[ 0 0 0 255 255 255 ]; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
78 |
mask:((ImageMask new) |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
79 |
width:7; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
80 |
height:4; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
81 |
bits:(ByteArray fromPackedString:'?''08D@@a'); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
82 |
yourself); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
83 |
yourself |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
84 |
] |
3649 | 85 |
! |
86 |
||
3763 | 87 |
sortIndicatorGrey |
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
88 |
<resource: #image> |
3763 | 89 |
"This resource specification was automatically generated |
90 |
by the ImageEditor of ST/X." |
|
91 |
"Do not manually edit this!! If it is corrupted, |
|
92 |
the ImageEditor may not be able to read the specification." |
|
93 |
" |
|
94 |
self sortIndicatorGrey inspect |
|
95 |
ImageEditor openOnClass:self andSelector:#sortIndicatorGrey |
|
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
96 |
Icon flushCachedIcons" |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
97 |
|
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
98 |
^ Icon constantNamed:#'DataSetLabel class sortIndicatorGrey' |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
99 |
ifAbsentPut:[ |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
100 |
(Depth1Image new) |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
101 |
width:7; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
102 |
height:5; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
103 |
photometric:(#palette); |
5055 | 104 |
bitsPerSample:(#[1]); |
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
105 |
samplesPerPixel:(1); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
106 |
bits:(ByteArray fromPackedString:'@@@@@@@b'); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
107 |
colorMapFromArray:#[ 0 0 0 255 255 255 ]; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
108 |
mask:((ImageMask new) |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
109 |
width:7; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
110 |
height:5; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
111 |
bits:(ByteArray fromPackedString:'@A@(UJ(b'); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
112 |
yourself); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
113 |
yourself |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
114 |
] |
3763 | 115 |
! |
116 |
||
3768 | 117 |
sortIndicatorGreyIcon |
5838 | 118 |
<resource: #programImage> |
119 |
||
3768 | 120 |
^ ToolbarIconLibrary sortIndicatorGreyIcon |
5838 | 121 |
|
122 |
"Modified: / 28-07-2018 / 09:59:09 / Claus Gittinger" |
|
3768 | 123 |
! |
124 |
||
125 |
sortIndicatorIcon |
|
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
126 |
<resource: #image> |
3768 | 127 |
"This resource specification was automatically generated |
128 |
by the ImageEditor of ST/X." |
|
129 |
"Do not manually edit this!! If it is corrupted, |
|
130 |
the ImageEditor may not be able to read the specification." |
|
131 |
" |
|
132 |
self sortIndicatorIcon inspect |
|
133 |
ImageEditor openOnClass:self andSelector:#sortIndicatorIcon |
|
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
134 |
Icon flushCachedIcons" |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
135 |
|
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
136 |
^ Icon constantNamed:'DataSetLabel class sortIndicatorIcon' |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
137 |
ifAbsentPut:[ |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
138 |
(Depth1Image new) |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
139 |
width:7; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
140 |
height:4; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
141 |
photometric:(#palette); |
5055 | 142 |
bitsPerSample:(#[1]); |
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
143 |
samplesPerPixel:(1); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
144 |
bits:(ByteArray fromPackedString:'@@B@0 @a'); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
145 |
colorMapFromArray:#[ 0 0 0 255 255 255 ]; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
146 |
mask:((ImageMask new) |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
147 |
width:7; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
148 |
height:4; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
149 |
bits:(ByteArray fromPackedString:'?''08D@@a'); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
150 |
yourself); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
151 |
yourself |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
152 |
] |
3768 | 153 |
! |
154 |
||
3649 | 155 |
sortReverseIndicator |
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
156 |
<resource: #image> |
3649 | 157 |
"This resource specification was automatically generated |
158 |
by the ImageEditor of ST/X." |
|
159 |
"Do not manually edit this!! If it is corrupted, |
|
160 |
the ImageEditor may not be able to read the specification." |
|
161 |
" |
|
162 |
self sortReverseIndicator inspect |
|
163 |
ImageEditor openOnClass:self andSelector:#sortReverseIndicator |
|
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
164 |
Icon flushCachedIcons" |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
165 |
|
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
166 |
^ Icon constantNamed:'DataSetLabel class sortReverseIndicator' |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
167 |
ifAbsentPut:[ |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
168 |
(Depth1Image new) |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
169 |
width:7; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
170 |
height:4; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
171 |
photometric:(#palette); |
5055 | 172 |
bitsPerSample:(#[1]); |
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
173 |
samplesPerPixel:(1); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
174 |
bits:(ByteArray fromPackedString:'0(@@@@@a'); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
175 |
colorMapFromArray:#[ 0 0 0 255 255 255 ]; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
176 |
mask:((ImageMask new) |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
177 |
width:7; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
178 |
height:4; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
179 |
bits:(ByteArray fromPackedString:'DC!!<? @a'); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
180 |
yourself); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
181 |
yourself |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
182 |
] |
3763 | 183 |
! |
184 |
||
185 |
sortReverseIndicatorGrey |
|
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
186 |
<resource: #image> |
3763 | 187 |
"This resource specification was automatically generated |
188 |
by the ImageEditor of ST/X." |
|
189 |
"Do not manually edit this!! If it is corrupted, |
|
190 |
the ImageEditor may not be able to read the specification." |
|
191 |
" |
|
192 |
self sortReverseIndicatorGrey inspect |
|
193 |
ImageEditor openOnClass:self andSelector:#sortReverseIndicatorGrey |
|
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
194 |
Icon flushCachedIcons" |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
195 |
|
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
196 |
^ Icon constantNamed:#'DataSetLabel class sortReverseIndicatorGrey' |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
197 |
ifAbsentPut:[ |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
198 |
(Depth1Image new) |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
199 |
width:7; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
200 |
height:5; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
201 |
photometric:(#palette); |
5055 | 202 |
bitsPerSample:(#[1]); |
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
203 |
samplesPerPixel:(1); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
204 |
bits:(ByteArray fromPackedString:'@@@@@@@b'); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
205 |
colorMapFromArray:#[ 0 0 0 255 255 255 ]; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
206 |
mask:((ImageMask new) |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
207 |
width:7; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
208 |
height:5; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
209 |
bits:(ByteArray fromPackedString:'*%P(D@@b'); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
210 |
yourself); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
211 |
yourself |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
212 |
] |
3768 | 213 |
! |
214 |
||
215 |
sortReverseIndicatorGreyIcon |
|
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
216 |
<resource: #image> |
3768 | 217 |
"This resource specification was automatically generated |
218 |
by the ImageEditor of ST/X." |
|
219 |
"Do not manually edit this!! If it is corrupted, |
|
220 |
the ImageEditor may not be able to read the specification." |
|
221 |
" |
|
222 |
self sortReverseIndicatorGreyIcon inspect |
|
223 |
ImageEditor openOnClass:self andSelector:#sortReverseIndicatorGreyIcon |
|
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
224 |
Icon flushCachedIcons" |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
225 |
|
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
226 |
^ Icon constantNamed:#'DataSetLabel class sortReverseIndicatorGreyIcon' |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
227 |
ifAbsentPut:[ |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
228 |
(Depth1Image new) |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
229 |
width:7; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
230 |
height:5; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
231 |
photometric:(#palette); |
5055 | 232 |
bitsPerSample:(#[1]); |
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
233 |
samplesPerPixel:(1); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
234 |
bits:(ByteArray fromPackedString:'@@@@@@@b'); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
235 |
colorMapFromArray:#[ 0 0 0 255 255 255 ]; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
236 |
mask:((ImageMask new) |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
237 |
width:7; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
238 |
height:5; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
239 |
bits:(ByteArray fromPackedString:'*%P(D@@b'); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
240 |
yourself); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
241 |
yourself |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
242 |
] |
3768 | 243 |
! |
244 |
||
245 |
sortReverseIndicatorIcon |
|
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
246 |
<resource: #image> |
3768 | 247 |
"This resource specification was automatically generated |
248 |
by the ImageEditor of ST/X." |
|
249 |
"Do not manually edit this!! If it is corrupted, |
|
250 |
the ImageEditor may not be able to read the specification." |
|
251 |
" |
|
252 |
self sortReverseIndicatorIcon inspect |
|
253 |
ImageEditor openOnClass:self andSelector:#sortReverseIndicatorIcon |
|
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
254 |
Icon flushCachedIcons" |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
255 |
|
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
256 |
^ Icon constantNamed:'DataSetLabel class sortReverseIndicatorIcon' |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
257 |
ifAbsentPut:[ |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
258 |
(Depth1Image new) |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
259 |
width:7; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
260 |
height:4; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
261 |
photometric:(#palette); |
5055 | 262 |
bitsPerSample:(#[1]); |
4588
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
263 |
samplesPerPixel:(1); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
264 |
bits:(ByteArray fromPackedString:'0(@@@@@a'); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
265 |
colorMapFromArray:#[ 0 0 0 255 255 255 ]; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
266 |
mask:((ImageMask new) |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
267 |
width:7; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
268 |
height:4; |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
269 |
bits:(ByteArray fromPackedString:'DC!!<? @a'); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
270 |
yourself); |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
271 |
yourself |
7aebb93f46c6
Use ImageMask instead of Depth1Image for masks
Stefan Vogel <sv@exept.de>
parents:
4549
diff
changeset
|
272 |
] |
1716 | 273 |
! ! |
1150 | 274 |
|
5641 | 275 |
!DataSetLabel methodsFor:'accessing-color & font'! |
1150 | 276 |
|
277 |
backgroundColor |
|
1487 | 278 |
"returns the background color or nil |
1150 | 279 |
" |
280 |
^ bgColor |
|
281 |
||
282 |
||
283 |
! |
|
284 |
||
2699 | 285 |
backgroundColor:aColor |
286 |
"set the background color or nil |
|
287 |
" |
|
288 |
bgColor := aColor |
|
289 |
! |
|
290 |
||
1150 | 291 |
foregroundColor |
1487 | 292 |
"returns the foreground color or nil |
1150 | 293 |
" |
294 |
^ fgColor |
|
295 |
||
2699 | 296 |
! |
297 |
||
298 |
foregroundColor:aColor |
|
299 |
"set the foreground color or nil |
|
300 |
" |
|
301 |
fgColor := aColor |
|
1150 | 302 |
! ! |
303 |
||
1818 | 304 |
!DataSetLabel methodsFor:'accessing-dimensions'! |
1150 | 305 |
|
1487 | 306 |
preferredHeight |
307 |
"returns my preferred height |
|
1150 | 308 |
" |
1487 | 309 |
^ preferredHeight |
1150 | 310 |
! |
311 |
||
1487 | 312 |
preferredWidth |
313 |
"returns my preferred width |
|
1150 | 314 |
" |
1487 | 315 |
^ preferredWidth |
1150 | 316 |
! ! |
317 |
||
318 |
!DataSetLabel methodsFor:'drawing'! |
|
319 |
||
3649 | 320 |
redrawX:xLeft w:width h:height inset:inset on:aLabelView |
1150 | 321 |
"redraw the label; the background is cleared and the paint is set |
322 |
" |
|
3763 | 323 |
|y0 x iconOffset gcFont labelWidth |
3768 | 324 |
netWidth goodLookingVerticalSpacing colNr sortIcon| |
1150 | 325 |
|
326 |
label isNil ifTrue:[ ^ self ]. |
|
327 |
||
1487 | 328 |
font notNil ifTrue:[ |
3649 | 329 |
gcFont := aLabelView font. "save original font" |
330 |
aLabelView font:font. |
|
1487 | 331 |
]. |
3582
2927b1b12e8f
Get the label from a value holder
Stefan Vogel <sv@exept.de>
parents:
3553
diff
changeset
|
332 |
|
2927b1b12e8f
Get the label from a value holder
Stefan Vogel <sv@exept.de>
parents:
3553
diff
changeset
|
333 |
y0 := (height - preferredHeight) // 2. |
4622 | 334 |
goodLookingVerticalSpacing := ((aLabelView font descent) - 2) max:2. |
3490
f46a3c50dc15
preferredExtent changes & fixes (ubs)
Claus Gittinger <cg@exept.de>
parents:
3468
diff
changeset
|
335 |
y0 := y0 + goodLookingVerticalSpacing. |
1150 | 336 |
|
2144 | 337 |
netWidth := width-inset-inset. |
338 |
||
3763 | 339 |
iconOffset := 0. |
3768 | 340 |
description isSortable ifTrue:[ |
341 |
iconOffset := 12. |
|
342 |
colNr := aLabelView columnIndexOfDescription:description. |
|
343 |
colNr == aLabelView indexOfSortColumn ifTrue:[ |
|
344 |
aLabelView reverseSort ifTrue:[ |
|
345 |
sortIcon := ToolbarIconLibrary sortIndicatorGreyIcon |
|
346 |
] ifFalse:[ |
|
347 |
sortIcon := ToolbarIconLibrary sortReverseIndicatorGreyIcon |
|
348 |
]. |
|
349 |
sortIcon displayOn:aLabelView x:xLeft+inset y:y0. |
|
3765 | 350 |
]. |
351 |
]. |
|
352 |
||
353 |
label do:[:eachLabelLine| |
|
3763 | 354 |
|restWidth xOffset shownLabel mustUndoClip prevClip| |
355 |
||
3765 | 356 |
shownLabel := eachLabelLine. |
2144 | 357 |
|
1588
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
358 |
mustUndoClip := false. |
3649 | 359 |
labelWidth := shownLabel widthOn:aLabelView. |
2144 | 360 |
labelWidth > netWidth ifTrue:[ |
3765 | 361 |
shownLabel := DataSetColumn shortenedStringFor:eachLabelLine on:aLabelView maxWidth:netWidth. |
3649 | 362 |
labelWidth := shownLabel widthOn:aLabelView. |
2144 | 363 |
]. |
364 |
||
1487 | 365 |
adjust == #left ifTrue:[ |
3763 | 366 |
x := xLeft + iconOffset + inset. |
1487 | 367 |
] ifFalse:[ |
3763 | 368 |
restWidth := width - labelWidth - iconOffset. |
1150 | 369 |
|
3649 | 370 |
adjust == #right ifTrue:[ |
3763 | 371 |
xOffset := restWidth - inset |
3649 | 372 |
] ifFalse:[ |
3763 | 373 |
xOffset := restWidth // 2. "/ center |
3649 | 374 |
]. |
3763 | 375 |
x := xLeft + xOffset. |
1588
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
376 |
|
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
377 |
"/ cg: must clip left, if string is too large |
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
378 |
x < xLeft ifTrue:[ |
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
379 |
"/ must clip ... |
3649 | 380 |
prevClip := aLabelView clippingRectangleOrNil. |
1588
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
381 |
mustUndoClip := true. |
5409 | 382 |
aLabelView clippingBounds:(Rectangle |
1588
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
383 |
left:xLeft top:y0 |
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
384 |
width:width height:height). |
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
385 |
]. |
1487 | 386 |
]. |
3582
2927b1b12e8f
Get the label from a value holder
Stefan Vogel <sv@exept.de>
parents:
3553
diff
changeset
|
387 |
|
3649 | 388 |
shownLabel displayOn:aLabelView x:x y:y0 + (shownLabel ascentOn:aLabelView). |
389 |
y0 := y0 + (shownLabel heightOn:aLabelView) + goodLookingVerticalSpacing. |
|
1588
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
390 |
|
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
391 |
mustUndoClip == true ifTrue:[ |
5409 | 392 |
aLabelView clippingBounds:prevClip |
1588
e6039e46cae2
clip label on the left, if larger than columns width,
Claus Gittinger <cg@exept.de>
parents:
1523
diff
changeset
|
393 |
]. |
1487 | 394 |
]. |
3649 | 395 |
|
3582
2927b1b12e8f
Get the label from a value holder
Stefan Vogel <sv@exept.de>
parents:
3553
diff
changeset
|
396 |
gcFont notNil ifTrue:[ |
3649 | 397 |
aLabelView font:gcFont "/ restore font |
2451 | 398 |
]. |
1150 | 399 |
! ! |
400 |
||
401 |
!DataSetLabel methodsFor:'instance creation'! |
|
402 |
||
1487 | 403 |
description:aDescription builder:aBuilder on:aGC |
5560 | 404 |
|device| |
1150 | 405 |
|
3649 | 406 |
description := aDescription. |
407 |
||
408 |
"/ stupid code - could simply access things via the description. |
|
409 |
"/ I leave it here for subclasses which depend on it (for a while). |
|
1605 | 410 |
label := self resolveLabelFromDescription:aDescription withBuilder:aBuilder. |
411 |
selector := aDescription labelActionSelector. |
|
412 |
argument := (aDescription labelActionArgument) ? label. |
|
413 |
adjust := (aDescription labelAlignment) ? #left. |
|
4549 | 414 |
device := aGC graphicsDevice. |
1605 | 415 |
fgColor := aDescription labelForegroundColor. |
416 |
bgColor := aDescription labelBackgroundColor. |
|
1150 | 417 |
|
1480 | 418 |
fgColor notNil ifTrue:[ fgColor := fgColor onDevice:device ]. |
419 |
bgColor notNil ifTrue:[ bgColor := bgColor onDevice:device ]. |
|
1150 | 420 |
|
5560 | 421 |
label isEmptyOrNil ifTrue:[ |
422 |
label := nil. |
|
423 |
] ifFalse:[ |
|
424 |
font := aDescription labelFont. |
|
425 |
font notNil ifTrue:[ |
|
426 |
font := aBuilder resolveFont:font. |
|
427 |
font notNil ifTrue:[ |
|
428 |
aGC font = font |
|
429 |
ifTrue:[font := nil] |
|
430 |
ifFalse:[font := font onDevice:device]. |
|
431 |
]. |
|
432 |
]. |
|
433 |
label isNonByteCollection |
|
434 |
ifFalse:[label := Array with:label]. |
|
435 |
||
436 |
label := label collect:[:el| self label:el on:device ]. |
|
437 |
]. |
|
438 |
self fontChangedOn:aGC. "/ initial setup font relevant attributes |
|
439 |
! |
|
1487 | 440 |
|
5560 | 441 |
font |
442 |
"answer my font or nil (default)" |
|
443 |
^ font |
|
444 |
! |
|
445 |
||
446 |
font:aFont |
|
447 |
"set my font or nil (default)" |
|
448 |
font := aFont. |
|
449 |
! |
|
450 |
||
451 |
fontChangedOn:aGC |
|
452 |
"invoked after the font has changed" |
|
453 |
|gcFont verticalSpace| |
|
454 |
||
455 |
preferredWidth := preferredHeight := 0. |
|
456 |
label isEmptyOrNil |
|
457 |
ifTrue:[ ^ self ]. |
|
458 |
||
459 |
gcFont := aGC font. |
|
460 |
verticalSpace := gcFont descent. "/ goodLookingVerticalSpacing |
|
461 |
||
462 |
font isNil ifTrue:[ |
|
463 |
gcFont := nil. |
|
464 |
] ifFalse:[ |
|
465 |
font = gcFont |
|
466 |
ifTrue:[gcFont := nil] |
|
467 |
ifFalse:[aGC font:font]. |
|
1150 | 468 |
]. |
469 |
||
5560 | 470 |
label do:[:each| |
471 |
preferredWidth := preferredWidth max:(each widthOn:aGC). |
|
472 |
preferredHeight := preferredHeight + verticalSpace + (each heightOn:aGC). |
|
1487 | 473 |
]. |
5560 | 474 |
gcFont notNil ifTrue:[aGC font:gcFont]. |
1150 | 475 |
! ! |
476 |
||
477 |
!DataSetLabel methodsFor:'private'! |
|
478 |
||
479 |
label:aLabel on:aDevice |
|
5201 | 480 |
"returns registered label on a device" |
1150 | 481 |
|
1487 | 482 |
aLabel isNil ifTrue:[^ '']. |
483 |
||
5201 | 484 |
(aLabel isImageOrForm or:[aLabel isLabelAndIcon]) ifTrue:[ |
485 |
^ aLabel onDevice:aDevice |
|
1150 | 486 |
]. |
487 |
^ aLabel |
|
488 |
! |
|
489 |
||
490 |
resolveLabelFromDescription:aDescription withBuilder:aBuilder |
|
3763 | 491 |
"the rawLabel can be a string, icon, labelAndIcon or collection of strings. |
492 |
if labelIsImage is true, the string is actually the appModel-labelFor-access key" |
|
493 |
||
3468 | 494 |
|rawLabel appl resources lbl| |
1150 | 495 |
|
496 |
aBuilder isNil ifTrue:[ |
|
3468 | 497 |
rawLabel := aDescription rawLabel. |
3763 | 498 |
] ifFalse:[ |
499 |
rawLabel := aDescription label. |
|
500 |
rawLabel isNil ifTrue:[^ nil ]. |
|
501 |
||
502 |
aBuilder isEditing ifFalse:[ |
|
503 |
appl := aBuilder application. |
|
504 |
appl notNil ifTrue:[ resources := appl resources ]. |
|
505 |
]. |
|
3468 | 506 |
|
507 |
rawLabel isString ifTrue:[ |
|
3763 | 508 |
aDescription labelIsImage ifTrue:[ |
509 |
(aBuilder isEditing or:[(rawLabel := aBuilder labelFor:(rawLabel asSymbol)) isNil]) ifTrue:[ |
|
510 |
rawLabel := aDescription class defaultIcon |
|
511 |
]. |
|
512 |
^ rawLabel |
|
513 |
] ifFalse:[ |
|
514 |
aDescription translateLabel == true ifTrue:[ |
|
515 |
lbl := (aBuilder labelAt:(rawLabel asSymbol)) value. |
|
516 |
lbl isNil ifTrue:[ |
|
517 |
lbl := (aBuilder aspectAt:(rawLabel asSymbol)) value. |
|
518 |
]. |
|
519 |
(lbl isNil and:[resources notNil]) ifTrue:[ |
|
520 |
lbl := resources string:rawLabel default:nil. |
|
521 |
]. |
|
522 |
lbl notNil ifTrue:[ rawLabel := lbl ]. |
|
523 |
]. |
|
524 |
]. |
|
3468 | 525 |
] ifFalse:[ |
5445 | 526 |
(rawLabel isLabelAndIcon) ifTrue:[ |
3763 | 527 |
rawLabel := rawLabel copy string:(resources string:rawLabel string). |
1150 | 528 |
]. |
3468 | 529 |
|
3763 | 530 |
rawLabel isSequenceable ifFalse:[^ rawLabel]. |
531 |
rawLabel isEmptyOrNil ifTrue:[^ nil ]. |
|
532 |
||
533 |
resources notNil ifTrue:[ |
|
534 |
lbl := resources string:rawLabel default:nil. |
|
3468 | 535 |
|
3763 | 536 |
lbl notNil ifTrue:[ |
537 |
rawLabel := lbl. |
|
538 |
] ifFalse:[ |
|
539 |
lbl := resources array:rawLabel. |
|
540 |
lbl notEmptyOrNil ifTrue:[ |
|
541 |
lbl size == 1 ifTrue:[ rawLabel := lbl first ] |
|
542 |
ifFalse:[ rawLabel := lbl ]. |
|
543 |
]. |
|
3468 | 544 |
]. |
545 |
]. |
|
1150 | 546 |
]. |
547 |
]. |
|
3763 | 548 |
|
3468 | 549 |
rawLabel isString ifTrue:[ |
550 |
rawLabel isEmpty ifTrue:[ ^ nil ]. |
|
551 |
lbl := rawLabel asStringCollection. |
|
552 |
lbl size > 1 ifTrue:[^ lbl ]. |
|
553 |
]. |
|
554 |
^ rawLabel |
|
5445 | 555 |
|
556 |
"Modified: / 04-02-2017 / 22:10:42 / cg" |
|
1150 | 557 |
! ! |
558 |
||
559 |
!DataSetLabel methodsFor:'queries'! |
|
560 |
||
1605 | 561 |
hasSeparator |
562 |
label size == 1 ifTrue:[ |
|
563 |
"/ ^ (label at:1) ~= 'Alarm' |
|
564 |
^ (label at:1) ~= 'Area' |
|
565 |
]. |
|
566 |
^ true |
|
5570 | 567 |
|
568 |
"Modified (format): / 03-08-2017 / 14:37:12 / cg" |
|
1605 | 569 |
! |
570 |
||
1150 | 571 |
isSelectable |
572 |
"returns true if the item is selectable; a valid selector |
|
573 |
to notify the receiver for a release button event exists |
|
574 |
" |
|
575 |
^ selector notNil |
|
576 |
||
577 |
||
3765 | 578 |
! |
579 |
||
3768 | 580 |
isSortable |
3765 | 581 |
^ description isSortable |
1150 | 582 |
! ! |
583 |
||
584 |
!DataSetLabel class methodsFor:'documentation'! |
|
585 |
||
586 |
version |
|
5055 | 587 |
^ '$Header$' |
3763 | 588 |
! |
589 |
||
590 |
version_CVS |
|
5055 | 591 |
^ '$Header$' |
1150 | 592 |
! ! |
4549 | 593 |