454
|
1 |
"
|
2108
|
2 |
COPYRIGHT (c) 1997 by eXept Software AG
|
|
3 |
All Rights Reserved
|
454
|
4 |
|
|
5 |
This software is furnished under a license and may be used
|
|
6 |
only in accordance with the terms of that license and with the
|
|
7 |
inclusion of the above copyright notice. This software may not
|
|
8 |
be provided or otherwise made available to, or used by, any
|
|
9 |
other person. No title to or ownership of the software is
|
|
10 |
hereby transferred.
|
2108
|
11 |
"
|
454
|
12 |
|
|
13 |
|
|
14 |
|
713
|
15 |
"{ Package: 'stx:libjava' }"
|
|
16 |
|
138
|
17 |
Object subclass:#JavaSlotIndexCache
|
|
18 |
instanceVariableNames:''
|
|
19 |
classVariableNames:'String_Slot_offset String_Slot_count String_Slot_value
|
|
20 |
Date_Slot_valueValid Date_Slot_expanded Date_Slot_tm_year
|
|
21 |
Date_Slot_tm_yday Date_Slot_tm_mon Date_Slot_tm_mday
|
|
22 |
Date_Slot_tm_hour Date_Slot_tm_min Date_Slot_tm_sec
|
|
23 |
Date_Slot_tm_millis Date_Slot_tm_isdst Date_Slot_tm_wday
|
|
24 |
Date_Slot_value Graphics_Slot_pDrawable Graphics_Slot_touched
|
|
25 |
Graphics_Slot_color Color_Slot_pData Color_Slot_value'
|
|
26 |
poolDictionaries:''
|
713
|
27 |
category:'Languages-Java-Support'
|
138
|
28 |
!
|
|
29 |
|
454
|
30 |
!JavaSlotIndexCache class methodsFor:'documentation'!
|
|
31 |
|
|
32 |
copyright
|
|
33 |
"
|
2108
|
34 |
COPYRIGHT (c) 1997 by eXept Software AG
|
|
35 |
All Rights Reserved
|
454
|
36 |
|
|
37 |
This software is furnished under a license and may be used
|
|
38 |
only in accordance with the terms of that license and with the
|
|
39 |
inclusion of the above copyright notice. This software may not
|
|
40 |
be provided or otherwise made available to, or used by, any
|
|
41 |
other person. No title to or ownership of the software is
|
|
42 |
hereby transferred.
|
2108
|
43 |
"
|
454
|
44 |
|
|
45 |
|
|
46 |
! !
|
138
|
47 |
|
|
48 |
!JavaSlotIndexCache class methodsFor:'queries'!
|
|
49 |
|
|
50 |
color_slot_pData_from:color
|
|
51 |
Color_Slot_pData isNil ifTrue:[
|
|
52 |
Color_Slot_pData := color class instVarOffsetOf:'pData'
|
|
53 |
].
|
|
54 |
^ Color_Slot_pData
|
|
55 |
|
|
56 |
"Created: 8.2.1997 / 13:53:16 / cg"
|
|
57 |
!
|
|
58 |
|
|
59 |
color_slot_value_from:color
|
|
60 |
Color_Slot_value isNil ifTrue:[
|
|
61 |
Color_Slot_value := color class instVarOffsetOf:'value'
|
|
62 |
].
|
|
63 |
^ Color_Slot_value
|
|
64 |
|
|
65 |
"Created: 8.2.1997 / 13:54:48 / cg"
|
|
66 |
!
|
|
67 |
|
|
68 |
date_slot_expanded
|
|
69 |
Date_Slot_expanded isNil ifTrue:[
|
|
70 |
Date_Slot_expanded := (Java at:'java.util.Date') instVarOffsetOf:'expanded'
|
|
71 |
].
|
|
72 |
^ Date_Slot_expanded
|
|
73 |
|
|
74 |
"
|
|
75 |
JavaSlotIndexCache date_slot_expanded
|
|
76 |
"
|
|
77 |
|
|
78 |
"Created: 8.2.1997 / 13:28:18 / cg"
|
|
79 |
!
|
|
80 |
|
|
81 |
date_slot_tm_hour
|
|
82 |
Date_Slot_tm_hour isNil ifTrue:[
|
|
83 |
Date_Slot_tm_hour := (Java at:'java.util.Date') instVarOffsetOf:'tm_hour'
|
|
84 |
].
|
|
85 |
^ Date_Slot_tm_hour
|
|
86 |
|
|
87 |
"
|
|
88 |
JavaSlotIndexCache date_slot_tm_hour
|
|
89 |
"
|
|
90 |
|
|
91 |
"Created: 8.2.1997 / 13:29:24 / cg"
|
|
92 |
!
|
|
93 |
|
|
94 |
date_slot_tm_isdst
|
|
95 |
Date_Slot_tm_isdst isNil ifTrue:[
|
|
96 |
Date_Slot_tm_isdst := (Java at:'java.util.Date') instVarOffsetOf:'tm_isdst'
|
|
97 |
].
|
|
98 |
^ Date_Slot_tm_isdst
|
|
99 |
|
|
100 |
"
|
|
101 |
JavaSlotIndexCache date_slot_tm_isdst
|
|
102 |
"
|
|
103 |
|
|
104 |
"Created: 8.2.1997 / 13:39:00 / cg"
|
|
105 |
!
|
|
106 |
|
|
107 |
date_slot_tm_mday
|
|
108 |
Date_Slot_tm_mday isNil ifTrue:[
|
|
109 |
Date_Slot_tm_mday := (Java at:'java.util.Date') instVarOffsetOf:'tm_mday'
|
|
110 |
].
|
|
111 |
^ Date_Slot_tm_mday
|
|
112 |
|
|
113 |
"
|
|
114 |
JavaSlotIndexCache date_slot_tm_mday
|
|
115 |
"
|
|
116 |
|
|
117 |
"Created: 8.2.1997 / 13:29:14 / cg"
|
|
118 |
!
|
|
119 |
|
|
120 |
date_slot_tm_millis
|
|
121 |
Date_Slot_tm_millis isNil ifTrue:[
|
|
122 |
Date_Slot_tm_millis := (Java at:'java.util.Date') instVarOffsetOf:'tm_millis'
|
|
123 |
].
|
|
124 |
^ Date_Slot_tm_millis
|
|
125 |
|
|
126 |
"
|
|
127 |
JavaSlotIndexCache date_slot_tm_millis
|
|
128 |
"
|
|
129 |
|
|
130 |
"Created: 8.2.1997 / 13:29:43 / cg"
|
|
131 |
!
|
|
132 |
|
|
133 |
date_slot_tm_min
|
|
134 |
Date_Slot_tm_min isNil ifTrue:[
|
|
135 |
Date_Slot_tm_min := (Java at:'java.util.Date') instVarOffsetOf:'tm_min'
|
|
136 |
].
|
|
137 |
^ Date_Slot_tm_min
|
|
138 |
|
|
139 |
"
|
|
140 |
JavaSlotIndexCache date_slot_tm_min
|
|
141 |
"
|
|
142 |
|
|
143 |
"Created: 8.2.1997 / 13:29:32 / cg"
|
|
144 |
!
|
|
145 |
|
|
146 |
date_slot_tm_mon
|
|
147 |
Date_Slot_tm_mon isNil ifTrue:[
|
|
148 |
Date_Slot_tm_mon := (Java at:'java.util.Date') instVarOffsetOf:'tm_mon'
|
|
149 |
].
|
|
150 |
^ Date_Slot_tm_mon
|
|
151 |
|
|
152 |
"
|
|
153 |
JavaSlotIndexCache date_slot_tm_mon
|
|
154 |
"
|
|
155 |
|
|
156 |
"Created: 8.2.1997 / 13:29:05 / cg"
|
|
157 |
!
|
|
158 |
|
|
159 |
date_slot_tm_sec
|
|
160 |
Date_Slot_tm_sec isNil ifTrue:[
|
|
161 |
Date_Slot_tm_sec := (Java at:'java.util.Date') instVarOffsetOf:'tm_sec'
|
|
162 |
].
|
|
163 |
^ Date_Slot_tm_sec
|
|
164 |
|
|
165 |
"
|
|
166 |
JavaSlotIndexCache date_slot_tm_sec
|
|
167 |
"
|
|
168 |
|
|
169 |
"Created: 8.2.1997 / 13:29:37 / cg"
|
|
170 |
!
|
|
171 |
|
|
172 |
date_slot_tm_wday
|
|
173 |
Date_Slot_tm_wday isNil ifTrue:[
|
|
174 |
Date_Slot_tm_wday := (Java at:'java.util.Date') instVarOffsetOf:'tm_wday'
|
|
175 |
].
|
|
176 |
^ Date_Slot_tm_wday
|
|
177 |
|
|
178 |
"
|
|
179 |
JavaSlotIndexCache date_slot_tm_wday
|
|
180 |
"
|
|
181 |
|
|
182 |
"Created: 8.2.1997 / 13:29:14 / cg"
|
|
183 |
"Modified: 8.2.1997 / 13:40:12 / cg"
|
|
184 |
!
|
|
185 |
|
|
186 |
date_slot_tm_yday
|
|
187 |
Date_Slot_tm_yday isNil ifTrue:[
|
|
188 |
Date_Slot_tm_yday := (Java at:'java.util.Date') instVarOffsetOf:'tm_yday'
|
|
189 |
].
|
|
190 |
^ Date_Slot_tm_yday
|
|
191 |
|
|
192 |
"
|
|
193 |
JavaSlotIndexCache date_slot_tm_yday
|
|
194 |
"
|
|
195 |
|
|
196 |
"Created: 8.2.1997 / 13:29:14 / cg"
|
|
197 |
"Modified: 8.2.1997 / 13:38:30 / cg"
|
|
198 |
!
|
|
199 |
|
|
200 |
date_slot_tm_year
|
|
201 |
Date_Slot_tm_year isNil ifTrue:[
|
|
202 |
Date_Slot_tm_year := (Java at:'java.util.Date') instVarOffsetOf:'tm_year'
|
|
203 |
].
|
|
204 |
^ Date_Slot_tm_year
|
|
205 |
|
|
206 |
"
|
|
207 |
JavaSlotIndexCache date_slot_tm_year
|
|
208 |
"
|
|
209 |
|
|
210 |
"Created: 8.2.1997 / 13:28:52 / cg"
|
|
211 |
!
|
|
212 |
|
|
213 |
date_slot_value
|
|
214 |
Date_Slot_value isNil ifTrue:[
|
|
215 |
Date_Slot_value := (Java at:'java.util.Date') instVarOffsetOf:'value'
|
|
216 |
].
|
|
217 |
^ Date_Slot_value
|
|
218 |
|
|
219 |
"
|
|
220 |
JavaSlotIndexCache date_slot_value
|
|
221 |
"
|
|
222 |
|
|
223 |
"Created: 8.2.1997 / 13:30:30 / cg"
|
|
224 |
"Modified: 8.2.1997 / 13:30:51 / cg"
|
|
225 |
!
|
|
226 |
|
|
227 |
date_slot_valueValid
|
|
228 |
Date_Slot_valueValid isNil ifTrue:[
|
|
229 |
Date_Slot_valueValid := (Java at:'java.util.Date') instVarOffsetOf:'valueValid'
|
|
230 |
].
|
|
231 |
^ Date_Slot_valueValid
|
|
232 |
|
|
233 |
"
|
|
234 |
JavaSlotIndexCache date_slot_valueValid
|
|
235 |
"
|
|
236 |
|
|
237 |
"Created: 8.2.1997 / 13:25:46 / cg"
|
|
238 |
"Modified: 8.2.1997 / 13:27:47 / cg"
|
|
239 |
!
|
|
240 |
|
|
241 |
graphics_slot_color_from:graphics
|
|
242 |
Graphics_Slot_color isNil ifTrue:[
|
|
243 |
Graphics_Slot_color := graphics class instVarOffsetOf:'color'
|
|
244 |
].
|
|
245 |
^ Graphics_Slot_color
|
|
246 |
|
|
247 |
"Created: 8.2.1997 / 13:53:56 / cg"
|
|
248 |
!
|
|
249 |
|
|
250 |
graphics_slot_pDrawable_from:graphics
|
|
251 |
Graphics_Slot_pDrawable isNil ifTrue:[
|
|
252 |
Graphics_Slot_pDrawable := graphics class instVarOffsetOf:'pDrawable'
|
|
253 |
].
|
|
254 |
^ Graphics_Slot_pDrawable
|
|
255 |
|
|
256 |
"Created: 8.2.1997 / 13:49:42 / cg"
|
|
257 |
!
|
|
258 |
|
|
259 |
graphics_slot_touched_from:graphics
|
|
260 |
Graphics_Slot_touched isNil ifTrue:[
|
|
261 |
Graphics_Slot_touched := graphics class instVarOffsetOf:'touched'
|
|
262 |
].
|
|
263 |
^ Graphics_Slot_touched
|
|
264 |
|
|
265 |
"Created: 8.2.1997 / 13:50:57 / cg"
|
|
266 |
!
|
|
267 |
|
|
268 |
string_slot_count
|
|
269 |
String_Slot_count isNil ifTrue:[
|
|
270 |
String_Slot_count := (Java at:'java.lang.String') instVarOffsetOf:'count'
|
|
271 |
].
|
|
272 |
^ String_Slot_count
|
|
273 |
|
|
274 |
"
|
|
275 |
JavaSlotIndexCache string_slot_count
|
|
276 |
"
|
|
277 |
|
|
278 |
"Created: 8.2.1997 / 13:19:06 / cg"
|
|
279 |
!
|
|
280 |
|
|
281 |
string_slot_offset
|
|
282 |
String_Slot_offset isNil ifTrue:[
|
|
283 |
String_Slot_offset := (Java at:'java.lang.String') instVarOffsetOf:'offset'
|
|
284 |
].
|
|
285 |
^ String_Slot_offset
|
|
286 |
|
|
287 |
"
|
|
288 |
JavaSlotIndexCache string_slot_offset
|
|
289 |
"
|
|
290 |
|
|
291 |
"Modified: 8.2.1997 / 13:18:53 / cg"
|
|
292 |
!
|
|
293 |
|
|
294 |
string_slot_value
|
|
295 |
String_Slot_value isNil ifTrue:[
|
|
296 |
String_Slot_value := (Java at:'java.lang.String') instVarOffsetOf:'value'
|
|
297 |
].
|
|
298 |
^ String_Slot_value
|
|
299 |
|
|
300 |
"
|
|
301 |
JavaSlotIndexCache string_slot_value
|
|
302 |
"
|
|
303 |
|
|
304 |
"Created: 8.2.1997 / 13:19:14 / cg"
|
|
305 |
! !
|
|
306 |
|
|
307 |
!JavaSlotIndexCache class methodsFor:'documentation'!
|
|
308 |
|
|
309 |
version
|
2108
|
310 |
^ '$Header: /cvs/stx/stx/libjava/JavaSlotIndexCache.st,v 1.3 2002-11-22 20:13:02 cg Exp $'
|
|
311 |
! !
|