author | ca |
Thu, 10 Aug 2000 15:52:04 +0200 | |
changeset 1391 | be99f3e9260e |
parent 1386 | 5b562fd44e68 |
child 1401 | f125c85f21e2 |
permissions | -rw-r--r-- |
164 | 1 |
" |
2 |
COPYRIGHT (c) 1995 by eXept Software AG |
|
3 |
All Rights Reserved |
|
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. |
|
11 |
" |
|
12 |
||
13 |
||
14 |
||
15 |
||
1386 | 16 |
"{ Package: 'stx:libtool2' }" |
17 |
||
164 | 18 |
ApplicationModel subclass:#UISpecificationTool |
759 | 19 |
instanceVariableNames:'modifiedHolder aspects specification selection specChannel |
1307 | 20 |
buildInView listOfSpecViews' |
164 | 21 |
classVariableNames:'' |
22 |
poolDictionaries:'' |
|
23 |
category:'Interface-UIPainter' |
|
24 |
! |
|
25 |
||
1307 | 26 |
ViewScroller subclass:#BuildInView |
27 |
instanceVariableNames:'outerFrame' |
|
28 |
classVariableNames:'' |
|
29 |
poolDictionaries:'' |
|
30 |
privateIn:UISpecificationTool |
|
31 |
! |
|
32 |
||
164 | 33 |
!UISpecificationTool class methodsFor:'documentation'! |
34 |
||
35 |
copyright |
|
36 |
" |
|
37 |
COPYRIGHT (c) 1995 by eXept Software AG |
|
38 |
All Rights Reserved |
|
39 |
||
40 |
This software is furnished under a license and may be used |
|
41 |
only in accordance with the terms of that license and with the |
|
42 |
inclusion of the above copyright notice. This software may not |
|
43 |
be provided or otherwise made available to, or used by, any |
|
44 |
other person. No title to or ownership of the software is |
|
45 |
hereby transferred. |
|
46 |
" |
|
47 |
||
48 |
||
49 |
||
50 |
! |
|
51 |
||
52 |
documentation |
|
53 |
" |
|
54 |
used by the UIPainter to manipulate the specifications of the selected component |
|
55 |
||
56 |
[author:] |
|
57 |
Claus Atzkern |
|
58 |
||
59 |
[see also:] |
|
60 |
UIPainter |
|
61 |
UILayoutTool |
|
62 |
UIHelpTool |
|
63 |
" |
|
64 |
! ! |
|
65 |
||
172 | 66 |
!UISpecificationTool class methodsFor:'help specs'! |
67 |
||
68 |
helpSpec |
|
752 | 69 |
"This resource specification was automatically generated |
70 |
by the UIHelpTool of ST/X." |
|
71 |
||
72 |
"Do not manually edit this!! If it is corrupted, |
|
73 |
the UIHelpTool may not be able to read the specification." |
|
294 | 74 |
|
847 | 75 |
" |
752 | 76 |
UIHelpTool openOnClass:UISpecificationTool |
172 | 77 |
" |
294 | 78 |
|
752 | 79 |
<resource: #help> |
80 |
||
81 |
^super helpSpec addPairsFrom:#( |
|
172 | 82 |
|
580 | 83 |
#acceptChannel |
780 | 84 |
'Aspect selector or binding for accepting the entry.' |
580 | 85 |
|
367 | 86 |
#acceptImmediate |
801 | 87 |
'Enable sending of the entered string to the model with every key press.' |
367 | 88 |
|
89 |
#acceptOnLeave |
|
1153 | 90 |
'Enable sending of the entered string to the model when field is left via a keyboard action.' |
367 | 91 |
|
540 | 92 |
#acceptOnLostFocus |
801 | 93 |
'Enable sending of the entered string to the model when the field looses its input focus.' |
540 | 94 |
|
1153 | 95 |
#acceptOnPointerLeaveFocus |
96 |
'Enable sending of the entered string to the model when field is left via a mouse motion.' |
|
97 |
||
367 | 98 |
#acceptOnReturn |
801 | 99 |
'Enable sending of the entered string to the model when the RETURN key is pressed.' |
367 | 100 |
|
101 |
#acceptOnTab |
|
801 | 102 |
'Enable sending of the entered string to the model when the TAB key is pressed.' |
367 | 103 |
|
303 | 104 |
#action |
801 | 105 |
'Name of the message sent to the application when the widget is activated.' |
303 | 106 |
|
367 | 107 |
#actionArg |
801 | 108 |
'Optional argument passed with the action message.' |
367 | 109 |
|
540 | 110 |
#appletParamText |
111 |
'Paste the complete appletTAGs HTML text here (i.e. all from <applet> up to and including the </applet>). Press parse to extract all parameters from it.' |
|
112 |
||
113 |
#appletTextParse |
|
114 |
'Parse the appletTAG and fill the parameters directory from it.' |
|
115 |
||
350 | 116 |
#arbitraryView |
1344 | 117 |
'Message sent to the application to provide the view instance, or name of the views class.' |
294 | 118 |
|
540 | 119 |
#archiveEntry |
120 |
'The name of a zip-file archive, if the class(es) are to be loaded from a zip-archive.' |
|
121 |
||
122 |
#arrowButtonDirection |
|
780 | 123 |
'Defines the direction of the arrow.' |
540 | 124 |
|
350 | 125 |
#autoRepeat |
1154 | 126 |
'Enable auto-repeat of the action as long as the button is pressed (Must be Trigger-on-Down).' |
307 | 127 |
|
367 | 128 |
#backgroundChannel |
1165 | 129 |
'Aspect selector or binding for a background color holder.' |
367 | 130 |
|
350 | 131 |
#backgroundColor |
780 | 132 |
'Defines the background color of the widget.' |
303 | 133 |
|
350 | 134 |
#beDefault |
801 | 135 |
'Show a default (-return) bitmap after the label.' |
307 | 136 |
|
580 | 137 |
#beDependentOfRows |
1164 | 138 |
'Make the widget dependent on each row (ie rows send change messages).' |
580 | 139 |
|
350 | 140 |
#booleanHolder |
837 | 141 |
'Aspect selector or binding for a boolean holder which enables the widget.' |
294 | 142 |
|
1166 | 143 |
#booleanModel |
144 |
'Aspect selector or binding for a holder on the boolean state.' |
|
145 |
||
350 | 146 |
#borderWidth |
783 | 147 |
'Defines the width of the border (in pixels).' |
303 | 148 |
|
1166 | 149 |
#buttonModelArg |
150 |
'Value stored into the model when the button is pressed.' |
|
151 |
||
307 | 152 |
#canvas |
780 | 153 |
'Aspect selector or binding for the widget placed into the notebook.' |
294 | 154 |
|
350 | 155 |
#canvasArgument |
801 | 156 |
'An optional argument passed with the message.' |
350 | 157 |
|
1331 | 158 |
#canvasFrameLevel |
159 |
'3D Level of frame around canvas.' |
|
160 |
||
161 |
#canvasInset |
|
162 |
'Inset of canvas; a Point or Integer; leave blank for default.' |
|
163 |
||
350 | 164 |
#canvasSelector |
801 | 165 |
'The name of the message sent to the application after opening the canvas.' |
350 | 166 |
|
1153 | 167 |
#chartHolder |
168 |
'Value holder on a chart description.' |
|
169 |
||
170 |
#chartLabel |
|
171 |
'Label string shown with the chart.' |
|
172 |
||
580 | 173 |
#clientHolder |
801 | 174 |
'Aspect selector or binding for a holder on the client application to be opened.' |
580 | 175 |
|
350 | 176 |
#clientKey |
1364 | 177 |
'Message send to the master application to return an application instance; Default: master application itself.' |
350 | 178 |
|
540 | 179 |
#codeBaseHolder |
180 |
'The URL of the directory, where the classFile-file resides. If the classFile is located on the local machine, use\ file:/<fullPath>\ where fullPath is an absolute pathname. If its to be accessed via http, use\ http:/<host>/<relativePath>\ where relativePath is the path relative to the http''s top diretory on that host.' |
|
181 |
||
182 |
#codeFileEntry |
|
801 | 183 |
'The name of the java classFile which contains the applets code. For example: ''ArcTest.class''' |
540 | 184 |
|
1164 | 185 |
#columnAdaptor |
186 |
'Name of a method in the application which returns a column adaptor.' |
|
187 |
||
580 | 188 |
#columnButton |
780 | 189 |
'Opens a Table Columns Builder.' |
580 | 190 |
|
191 |
#columnHolder |
|
801 | 192 |
'Aspect selector or binding for a holder on the list of the column descriptions.' |
580 | 193 |
|
1176 | 194 |
#componentsChangeSize |
195 |
'Recompute layout when any component changes its size.' |
|
196 |
||
1165 | 197 |
#converter |
198 |
'Method in the application returning a typeconverter.' |
|
847 | 199 |
|
1359 | 200 |
#createNewApplication |
1364 | 201 |
'Create a new appModel instance for the subCanvas (Client & clientHolder must be empty).' |
1359 | 202 |
|
203 |
#createNewBuilder |
|
1364 | 204 |
'Create a new builder instance for the subCanvas (subApp will use its own aspects).' |
1359 | 205 |
|
1176 | 206 |
#dblClickChannel |
207 |
'Aspect selector or binding for a holder on the double-clicked item.' |
|
208 |
||
350 | 209 |
#defaultLabel |
780 | 210 |
'Default label (used, if nothing selected).' |
350 | 211 |
|
1386 | 212 |
#documentURL |
855 | 213 |
'Aspect selector or binding for a holder of the URL of the document.' |
350 | 214 |
|
1386 | 215 |
#documentText |
216 |
'Aspect selector or binding for a holder of the html document itself.' |
|
217 |
||
350 | 218 |
#doubleClickSelector |
1028 | 219 |
'Message sent to the application upon double click.' |
580 | 220 |
|
221 |
#downAction |
|
801 | 222 |
'Name of the message sent to the application when the down(right)-button is pressed.' |
294 | 223 |
|
1157
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
224 |
#dragDisplayObjects |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
225 |
'Message with one argument the DropSource, to get the list of Objects displayed during dragging' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
226 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
227 |
#dragDropObjects |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
228 |
'Message with one argument the DropSource, to get the list of DropObjects' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
229 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
230 |
#dragFeedBack |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
231 |
'Optional Message with one argument, the DropContext, to give a feedBack of the finished operation' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
232 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
233 |
#dragStart |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
234 |
'Optional Message with two arguments, the DropSource and the view, called to start your own handler' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
235 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
236 |
#dragStartArgument |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
237 |
'Optional user defined argument stored in the DropSource' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
238 |
|
1190 | 239 |
#drawBoxChannel |
240 |
'Boolean aspect which controls box-display.' |
|
241 |
||
242 |
#drawNormalsChannel |
|
243 |
'Boolean aspect which controls normals-display.' |
|
244 |
||
1157
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
245 |
#dropArgument |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
246 |
'Optional user defined argument stored in the DropTarget' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
247 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
248 |
#dropCanCheck |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
249 |
'Message with one argument, the DropContext, to asked if the context could be dropped' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
250 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
251 |
#dropEnter |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
252 |
'Optional Message with one argument, the DropContext, send the first time when entering the widget' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
253 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
254 |
#dropLeave |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
255 |
'Optional Message with one argument, the DropContext, send the last time when leaving the widget' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
256 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
257 |
#dropOver |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
258 |
'Optional Message with one argument, the DropContext, send all the time when moveing over the widget' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
259 |
|
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
260 |
#dropSelector |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
261 |
'Message with one argument, the DropContext, to drop the collection of objects' |
cc039cdcc145
add help text to the drag & drop operation
Claus Gittinger <cg@exept.de>
parents:
1154
diff
changeset
|
262 |
|
350 | 263 |
#enableChannel |
837 | 264 |
'Aspect selector or binding for a boolean holder which enables the widget.' |
350 | 265 |
|
1161 | 266 |
#endMotionCallBack |
267 |
'Method invoked with end of thumb motion.' |
|
268 |
||
1051 | 269 |
#escapeIsCancelInDialog |
270 |
'If on, and the window is opened modal, the ESC-Key acts like a Cancel-action' |
|
271 |
||
580 | 272 |
#fileSelectionFilterClas |
801 | 273 |
'The name of the item class used to create the entries into the hierarchical list.' |
580 | 274 |
|
350 | 275 |
#fileSelectionTreeRoot |
801 | 276 |
'Aspect selector or binding for a holder on the root directories path name.' |
350 | 277 |
|
580 | 278 |
#fitLastRow |
801 | 279 |
'Resize the last row to fit the width of the widget.' |
580 | 280 |
|
350 | 281 |
#fontMenu |
801 | 282 |
'Defines the font used by the widget.' |
294 | 283 |
|
367 | 284 |
#forceRecursiveBackground |
801 | 285 |
'If on, the background color is recursively set in all sub components.' |
367 | 286 |
|
540 | 287 |
#foregroundChannel |
801 | 288 |
'Aspect selector or binding for a foreground color holder.' |
540 | 289 |
|
350 | 290 |
#foregroundColor |
780 | 291 |
'Defines the foreground color of the widget.' |
350 | 292 |
|
293 |
#galleryLabels |
|
801 | 294 |
'Aspect selector or binding for a holder on the label list.' |
350 | 295 |
|
296 |
#galleryModel |
|
780 | 297 |
'Aspect selector or binding for the selected label.' |
294 | 298 |
|
307 | 299 |
#gallerySelection |
801 | 300 |
'Aspect selector or binding for a holder which gets the windowSpec of the selected widget.' |
307 | 301 |
|
294 | 302 |
#gallerySelectors |
801 | 303 |
'Name of the message sent to the application returning a list of resource spec selectors.' |
294 | 304 |
|
1190 | 305 |
#glxGraphXMax |
306 |
'range end x' |
|
307 |
||
308 |
#glxGraphXMin |
|
309 |
'range start x' |
|
310 |
||
311 |
#glxGraphXStep |
|
312 |
'range step x' |
|
313 |
||
314 |
#glxGraphYMax |
|
315 |
'range end y' |
|
316 |
||
317 |
#glxGraphYMin |
|
318 |
'range start y' |
|
319 |
||
320 |
#glxGraphYStep |
|
321 |
'range step y' |
|
322 |
||
1164 | 323 |
#has3Dseparators |
801 | 324 |
'Enable 3D-look row/column separators.' |
367 | 325 |
|
1082 | 326 |
#hasBorder |
327 |
'Draw a border around the widget - ignored in 3D view styles (ST80 compatibility).' |
|
328 |
||
350 | 329 |
#hierarchicalList |
801 | 330 |
'Aspect selector or binding for a root item holder.' |
350 | 331 |
|
332 |
#hierarchicalListButton |
|
780 | 333 |
'Opens a Hierarchical List Editor on the application class and the defined selector.' |
294 | 334 |
|
1153 | 335 |
#highlightMode |
336 |
'Defines how selected items are highlighted' |
|
337 |
||
350 | 338 |
#horizontalLayout |
801 | 339 |
'Defines how sub components are arranged horizontally.' |
350 | 340 |
|
341 |
#horizontalMiniScroller |
|
801 | 342 |
'Use a mini-scroller as horizontal scrollbar.' |
294 | 343 |
|
350 | 344 |
#horizontalScroller |
801 | 345 |
'Enable horizontal scrollability.' |
350 | 346 |
|
580 | 347 |
#horizontalSpace |
801 | 348 |
'Horizontal space between sub components (in pixels).' |
580 | 349 |
|
350 | 350 |
#id |
780 | 351 |
'Unique symbolic name (ID) of the widget.' |
303 | 352 |
|
540 | 353 |
#initiallyDisabled |
801 | 354 |
'Widget is initially disabled.' |
540 | 355 |
|
367 | 356 |
#initiallyInvisible |
801 | 357 |
'Widget is initially invisible.' |
367 | 358 |
|
359 |
#inputFieldGroup |
|
780 | 360 |
'Unique symbolic name (ID) for the group of the entry field.' |
367 | 361 |
|
350 | 362 |
#isMultiSelect |
801 | 363 |
'Enable/disable multiple selections.' |
294 | 364 |
|
580 | 365 |
#isOpaque |
801 | 366 |
'If on, the widget is displayed opaque; if off, its transparent.' |
580 | 367 |
|
350 | 368 |
#isTriggerOnDown |
801 | 369 |
'If on, the button triggers its action when pressed. If off, it triggers on release.' |
303 | 370 |
|
1153 | 371 |
#itemChildrenSelector |
372 |
'Method in the application to return a block retrieveing nodes (lazy) children.' |
|
373 |
||
374 |
#itemContentsSelector |
|
375 |
'Method in the application to return a block retrieveing a nodes (lazy) contents.' |
|
376 |
||
377 |
#itemIconSelector |
|
378 |
'Method in the application to return a block retrieveing nodes (lazy) icon.' |
|
379 |
||
380 |
#itemLabelSelector |
|
381 |
'Method in the application to return a block retrieveing nodes (lazy) label.' |
|
382 |
||
1181 | 383 |
#keepCanvasAlive |
384 |
'If on, the view is unmapped when switching; otherwise, its destroyed.' |
|
385 |
||
1161 | 386 |
#keyboardStep |
387 |
'Defines the step used with cursor keys.' |
|
388 |
||
303 | 389 |
#label |
801 | 390 |
'The label of the widget.' |
303 | 391 |
|
1176 | 392 |
#labelAlignment |
393 |
'Specifies how the labels logo is positioned within the Label.' |
|
394 |
||
367 | 395 |
#labelChannel |
801 | 396 |
'Aspect selector or binding for a labelString holder.' |
367 | 397 |
|
398 |
#labelIsImage |
|
837 | 399 |
'Label is actually the selector if a message providing an image-label.' |
367 | 400 |
|
580 | 401 |
#labelPositionList |
780 | 402 |
'Defines the position of the label.' |
580 | 403 |
|
540 | 404 |
#lampColor |
801 | 405 |
'Defines the lamps color.' |
540 | 406 |
|
350 | 407 |
#level |
1028 | 408 |
'Level of the 3D-border (in pixels); Take widgets default, if left empty.' |
350 | 409 |
|
410 |
#listHolder |
|
801 | 411 |
'Aspect selector or binding for the list holder.' |
350 | 412 |
|
413 |
#majorKey |
|
801 | 414 |
'Name of the class which provides the window spec. If empty, the application itself is used.' |
350 | 415 |
|
416 |
#maxChars |
|
801 | 417 |
'Maximum number of characters in the field.' |
350 | 418 |
|
419 |
#maxSize |
|
420 |
'Those two fields specify the windows maximum size. The user will not be allowed to resize it to a larger size.' |
|
421 |
||
847 | 422 |
#maxValue |
423 |
'An optional maximum value (if fieldType = numberInRange)' |
|
424 |
||
350 | 425 |
#maxXField |
801 | 426 |
'The maximum width of the applications topWindow.' |
350 | 427 |
|
428 |
#maxYField |
|
801 | 429 |
'The maximum height of the applications topWindow.' |
350 | 430 |
|
431 |
#menuButton |
|
801 | 432 |
'Open a Menu Editor on the menu.' |
350 | 433 |
|
434 |
#menuId |
|
1051 | 435 |
'Aspect selector or binding providing the menu spec.' |
350 | 436 |
|
437 |
#menuPerformer |
|
801 | 438 |
'Aspect selector or binding providing the receiver of menu messages.' |
350 | 439 |
|
440 |
#middleButtonPressed |
|
801 | 441 |
'Name of the message sent to the application when the middle button is pressed.' |
350 | 442 |
|
847 | 443 |
#minValue |
444 |
'An optional minimum value (if fieldType = numberInRange)' |
|
445 |
||
350 | 446 |
#minXField |
801 | 447 |
'The minimum width of the applications topWindow.' |
350 | 448 |
|
449 |
#minYField |
|
801 | 450 |
'The minimum height of the applications topWindow.' |
350 | 451 |
|
294 | 452 |
#minorKey |
1364 | 453 |
'Message sent to the class which returns the window specification (default: windowSpec).' |
350 | 454 |
|
1162 | 455 |
#model |
456 |
'Aspect selector or binding providing the model of the widget.' |
|
457 |
||
580 | 458 |
#modifiedChannel |
801 | 459 |
'Aspect selector or binding for a holder for the modified-flag.' |
580 | 460 |
|
461 |
#monitoring |
|
801 | 462 |
'Enable automatic update whenever the directory is modified.' |
580 | 463 |
|
464 |
#monitoringDelayTime |
|
801 | 465 |
'Time in seconds between updates (if monitoring is enabled).' |
580 | 466 |
|
467 |
#moveSelectedRow |
|
801 | 468 |
'Enable/disable automatic movement of the row containing the selected tab item.' |
580 | 469 |
|
350 | 470 |
#oneTabPerLine |
801 | 471 |
'Arrange tabs vertically, with only one tab item per row.' |
350 | 472 |
|
610
c6dc33689c6a
Add help for subSpec GUI Painter opening.
Stefan Vogel <sv@exept.de>
parents:
584
diff
changeset
|
473 |
#openSubSpecGuiHelp |
780 | 474 |
'Opens a GUI Builder on the defined class and selector.' |
610
c6dc33689c6a
Add help for subSpec GUI Painter opening.
Stefan Vogel <sv@exept.de>
parents:
584
diff
changeset
|
475 |
|
580 | 476 |
#orientation |
801 | 477 |
'Defines the orientation (horizontal or vertical).' |
580 | 478 |
|
540 | 479 |
#paramAdd |
801 | 480 |
'Adds a name-value pair to the appletParameter collection.' |
540 | 481 |
|
482 |
#paramList |
|
483 |
'Lists defined parameters.' |
|
484 |
||
485 |
#paramNameField |
|
486 |
'The name of the appletParameter.' |
|
487 |
||
488 |
#paramRemove |
|
801 | 489 |
'Removes that appletParameter.' |
540 | 490 |
|
491 |
#paramValueField |
|
492 |
'The value of the appletParameter.' |
|
493 |
||
1161 | 494 |
#progressValueHolder |
495 |
'Aspect selector or binding for a holder on the indicators value.' |
|
496 |
||
540 | 497 |
#radioButtonGroup |
801 | 498 |
'Aspect selector or binding providing the radioButton group-model.' |
540 | 499 |
|
500 |
#radioButtonValue |
|
801 | 501 |
'Value passed to the radioButton group-model.' |
540 | 502 |
|
503 |
#readOnly |
|
801 | 504 |
'Make the contents be readOnly.' |
540 | 505 |
|
580 | 506 |
#regionType |
780 | 507 |
'Defines the shape of the widget.' |
580 | 508 |
|
540 | 509 |
#resizeForLabel |
801 | 510 |
'Enable/disable automatic resize after a label change.' |
540 | 511 |
|
1051 | 512 |
#returnIsOKInDialog |
513 |
'If on, and the window is opened modal, the Return/Enter-Key acts like an Accept-action' |
|
514 |
||
580 | 515 |
#rowIfAbsent |
801 | 516 |
'Name of the message sent to the application when an empty list entry is detected.' |
580 | 517 |
|
1161 | 518 |
#scrollerValueHolder |
519 |
'Aspect selector or binding for a holder on the scrollers value.' |
|
520 |
||
580 | 521 |
#selectConditionSelector |
1028 | 522 |
'Message sent to the application to validate a selection (not selectable if false is returned).' |
580 | 523 |
|
1164 | 524 |
#selectRowOnDefault |
525 |
'Select whole row, if unselectable column is selected.' |
|
526 |
||
350 | 527 |
#selectionHolder |
801 | 528 |
'Aspect selector or binding for a holder on the selection.' |
350 | 529 |
|
530 |
#setMaxExtent |
|
801 | 531 |
'Pick the maximum extent from the canvases current extent.' |
350 | 532 |
|
533 |
#setMinExtent |
|
801 | 534 |
'Pick the minimum extent from the canvases current extent.' |
350 | 535 |
|
1190 | 536 |
#showBox |
537 |
'Display a bounding box.' |
|
538 |
||
580 | 539 |
#showDirectoryIndicator |
801 | 540 |
'Show/hide directory indicators for non-empty directories.' |
580 | 541 |
|
542 |
#showDirectoryIndicatorForRoot |
|
801 | 543 |
'Show/hide the directory indicator for the root item.' |
303 | 544 |
|
1328 | 545 |
#showHandle |
1331 | 546 |
'Show resize-handles.' |
1328 | 547 |
|
1164 | 548 |
#showLabels |
549 |
'Show/hide column labels.' |
|
550 |
||
540 | 551 |
#showLamp |
801 | 552 |
'Show/hide the colored lamp.' |
540 | 553 |
|
350 | 554 |
#showLines |
801 | 555 |
'Show/hide connecting lines between tree items.' |
303 | 556 |
|
1190 | 557 |
#showNormals |
558 |
'Display normals.' |
|
559 |
||
580 | 560 |
#showPercentage |
801 | 561 |
'Show/hide the percentage display.' |
580 | 562 |
|
350 | 563 |
#showRoot |
801 | 564 |
'Show/hide the root item.' |
294 | 565 |
|
580 | 566 |
#showSeparatingLines |
801 | 567 |
'Show/hide separated lines.' |
580 | 568 |
|
350 | 569 |
#sizeAsDefault |
801 | 570 |
'Size the widget to include space for the default-(return) bitmap.' |
294 | 571 |
|
1161 | 572 |
#sliderValueHolder |
573 |
'Aspect selector or binding for a holder on the sliders value.' |
|
574 |
||
580 | 575 |
#specHolder |
780 | 576 |
'Aspect selector or binding for holding the selector returning a window specification.' |
580 | 577 |
|
578 |
#start |
|
801 | 579 |
'Defines the ranges minimum.' |
580 | 580 |
|
1161 | 581 |
#startMotionCallBack |
582 |
'Method invoked with start of thumb motion.' |
|
583 |
||
580 | 584 |
#step |
801 | 585 |
'Defines the step within the range.' |
580 | 586 |
|
587 |
#stop |
|
801 | 588 |
'Defines the ranges maximum.' |
580 | 589 |
|
1028 | 590 |
#supportsExpandAll |
591 |
'Enable/disable the expand-all function' |
|
592 |
||
1320 | 593 |
#tabIntern |
594 |
'Tab into the widget; if off, TAB skips over the widgets fields' |
|
595 |
||
294 | 596 |
#tabLabels |
801 | 597 |
'Name of the message sent to the application returning a list of labels for the tab items.' |
294 | 598 |
|
350 | 599 |
#tabOrientation |
780 | 600 |
'Defines the side for the arrangement of the tab items.' |
294 | 601 |
|
602 |
#tabWidget |
|
801 | 603 |
'Defines the type of the border style of the tab items (Windows style vs. Mac style).' |
367 | 604 |
|
540 | 605 |
#tabable |
837 | 606 |
'Widget can be reached by pressing the TAB key.' |
540 | 607 |
|
1176 | 608 |
#tabbedOverEndAction |
609 |
'Method invoked when the end was reached by tabbing.' |
|
610 |
||
611 |
#tabbedOverStartAction |
|
612 |
'Method invoked when the beginning was reached by tabbing.' |
|
613 |
||
367 | 614 |
#translateLabel |
837 | 615 |
'Translate the label via the resource mechanism to a national language string.' |
294 | 616 |
|
350 | 617 |
#typeConverter |
801 | 618 |
'Defines how the entry string is converted to an object which is passed to the model.' |
350 | 619 |
|
580 | 620 |
#upAction |
801 | 621 |
'Name of the message sent to the application when the up(left)-button is pressed.' |
580 | 622 |
|
350 | 623 |
#useIndex |
801 | 624 |
'If on, use the items index as selection; if off, use the items value.' |
307 | 625 |
|
367 | 626 |
#usePreferredExtent |
1051 | 627 |
'If on, the window computes its preferred extent; if off, the layout-sections value is used.' |
367 | 628 |
|
580 | 629 |
#validateDoubleClickSelector |
1028 | 630 |
'Message sent to the application to validate double click (no action if false is returned).' |
631 |
||
632 |
#validateExpandabilitySelector |
|
633 |
'Message sent to the application to validate expand on double click (no expand if false is returned).' |
|
580 | 634 |
|
294 | 635 |
#valueChangeSelector |
1028 | 636 |
'Message sent to the application when the selection has changed.' |
294 | 637 |
|
350 | 638 |
#verticalLayout |
780 | 639 |
'Defines how sub components are vertically arranged.' |
294 | 640 |
|
350 | 641 |
#verticalMiniScroller |
801 | 642 |
'Use a mini-scroller as vertical scrollbar.' |
303 | 643 |
|
350 | 644 |
#verticalScroller |
801 | 645 |
'Enable vertical scrollability.' |
350 | 646 |
|
580 | 647 |
#verticalSpace |
780 | 648 |
'Vertical space between the sub components (in pixels).' |
580 | 649 |
|
1333 | 650 |
#viewChannel |
651 |
'Aspect selector or binding for a holder provides the view to be embedded.' |
|
652 |
||
1296 | 653 |
#visibilityChannel |
654 |
'Aspect selector or binding for a boolean holder which makes the widget visible.' |
|
655 |
||
350 | 656 |
#windowIcon |
801 | 657 |
'Name of the message sent to the application returning an icon image for the top window.' |
303 | 658 |
|
350 | 659 |
#windowLabel |
801 | 660 |
'Label of the top window.' |
307 | 661 |
|
1190 | 662 |
#xRotChannel |
663 |
'Aspect providing x-Rotation value.' |
|
664 |
||
665 |
#xTransChannel |
|
666 |
'Aspect providing x-Translation value.' |
|
667 |
||
668 |
#yRotChannel |
|
669 |
'Aspect providing y-Rotation value.' |
|
670 |
||
671 |
#yTransChannel |
|
672 |
'Aspect providing y-Translation value.' |
|
673 |
||
674 |
#zRotChannel |
|
675 |
'Aspect providing z-Rotation value.' |
|
676 |
||
677 |
#zTransChannel |
|
678 |
'Aspect providing z-Translation value.' |
|
679 |
||
172 | 680 |
) |
681 |
! ! |
|
682 |
||
164 | 683 |
!UISpecificationTool class methodsFor:'interface specs'! |
684 |
||
685 |
windowSpec |
|
1307 | 686 |
"This resource specification was automatically generated |
687 |
by the UIPainter of ST/X." |
|
164 | 688 |
|
1307 | 689 |
"Do not manually edit this!! If it is corrupted, |
690 |
the UIPainter may not be able to read the specification." |
|
164 | 691 |
|
692 |
" |
|
693 |
UIPainter new openOnClass:UISpecificationTool andSelector:#windowSpec |
|
694 |
UISpecificationTool new openInterface:#windowSpec |
|
1307 | 695 |
UISpecificationTool open |
164 | 696 |
" |
697 |
||
698 |
<resource: #canvas> |
|
699 |
||
1307 | 700 |
^ |
701 |
#(#FullSpec |
|
702 |
#name: #windowSpec |
|
703 |
#window: |
|
704 |
#(#WindowSpec |
|
705 |
#label: 'unnamed canvas' |
|
706 |
#name: 'unnamed canvas' |
|
1313 | 707 |
#bounds: #(#Rectangle 12 22 312 322) |
1307 | 708 |
) |
709 |
#component: |
|
710 |
#(#SpecCollection |
|
711 |
#collection: #( |
|
712 |
#(#ArbitraryComponentSpec |
|
1313 | 713 |
#name: 'BuildInView' |
1307 | 714 |
#layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0) |
1313 | 715 |
#hasVerticalScrollBar: true |
716 |
#miniScrollerVertical: true |
|
717 |
#autoHideScrollBars: true |
|
1307 | 718 |
#hasBorder: false |
1313 | 719 |
#component: #buildInView |
1307 | 720 |
) |
721 |
) |
|
722 |
||
723 |
) |
|
164 | 724 |
) |
725 |
! ! |
|
726 |
||
1331 | 727 |
!UISpecificationTool methodsFor:'accessing-channels'! |
1315 | 728 |
|
729 |
modifiedHolder:aValueHolder |
|
730 |
"set the value holder set to true in case of modifying attributes |
|
731 |
" |
|
732 |
||
733 |
modifiedHolder removeDependent:self. |
|
164 | 734 |
|
1315 | 735 |
(modifiedHolder := aValueHolder) notNil ifTrue:[ |
736 |
modifiedHolder addDependent:self. |
|
737 |
]. |
|
1063
9e710dbc7c92
inputFields use modified & acceptChannels
Claus Gittinger <cg@exept.de>
parents:
1051
diff
changeset
|
738 |
|
1315 | 739 |
! ! |
740 |
||
1331 | 741 |
!UISpecificationTool methodsFor:'accessing-specification'! |
1063
9e710dbc7c92
inputFields use modified & acceptChannels
Claus Gittinger <cg@exept.de>
parents:
1051
diff
changeset
|
742 |
|
172 | 743 |
specification |
744 |
"gets current edit specification |
|
745 |
" |
|
746 |
^ specification |
|
747 |
||
748 |
||
749 |
! |
|
750 |
||
751 |
specification:aSpec |
|
752 |
"sets current edit specification |
|
753 |
" |
|
1315 | 754 |
aSpec notNil ifTrue:[ |
755 |
"/ same type of spec - simply change the spec; no need to setup everything |
|
756 |
specification class == aSpec class ifTrue:[ |
|
757 |
specification := aSpec. |
|
758 |
specChannel value:specification. |
|
759 |
^ self |
|
760 |
] |
|
1307 | 761 |
]. |
428 | 762 |
|
1315 | 763 |
"/ release resources |
764 |
specChannel release. |
|
765 |
aspects release. |
|
766 |
selection := listOfSpecViews := nil. |
|
767 |
buildInView destroyAllSubSpecs. |
|
768 |
||
769 |
(specification := aSpec) isNil ifTrue:[ |
|
770 |
aspects := specChannel := nil. |
|
771 |
^ self |
|
1307 | 772 |
]. |
773 |
||
774 |
"/ some tricky specs need the builder during the addBindings phase. |
|
775 |
"/ This is passed down in a special UIBindingsDictionary |
|
776 |
"/ (remain backward compatible) |
|
536
3991e37ec19f
pass special dictionary as bindings-environmnt
Claus Gittinger <cg@exept.de>
parents:
428
diff
changeset
|
777 |
|
1307 | 778 |
aspects := UISpecification newBindingsDictionary. |
779 |
aspects builder:builder. |
|
780 |
aspects at:#modifiedChannel put:modifiedHolder. |
|
781 |
aspects at:#acceptChannel put:self acceptChannel. |
|
172 | 782 |
|
1307 | 783 |
specChannel := specification asValue. |
784 |
specification class addBindingsTo:aspects for:specification channel:specChannel. |
|
536
3991e37ec19f
pass special dictionary as bindings-environmnt
Claus Gittinger <cg@exept.de>
parents:
428
diff
changeset
|
785 |
|
1307 | 786 |
"/ arrange for being notified, if any aspect changes |
787 |
aspects do:[:el| el addDependent:self ]. |
|
788 |
||
172 | 789 |
! ! |
790 |
||
364 | 791 |
!UISpecificationTool methodsFor:'actions'! |
792 |
||
793 |
setMaxExtent |
|
794 |
"set the windows maxExtent from its current extent" |
|
795 |
||
796 |
|canvas currentExtent| |
|
797 |
||
798 |
canvas := self masterApplication painter topView. |
|
799 |
currentExtent := canvas extent. |
|
800 |
(self aspectFor:#maxX) value:currentExtent x. |
|
801 |
(self aspectFor:#maxY) value:currentExtent y. |
|
802 |
||
803 |
"Modified: / 29.10.1997 / 18:29:17 / cg" |
|
804 |
! |
|
805 |
||
806 |
setMinExtent |
|
807 |
"set the windows minExtent from its current extent" |
|
808 |
||
809 |
|canvas currentExtent| |
|
810 |
||
811 |
canvas := self masterApplication painter topView. |
|
812 |
currentExtent := canvas extent. |
|
813 |
(self aspectFor:#minX) value:currentExtent x. |
|
814 |
(self aspectFor:#minY) value:currentExtent y. |
|
815 |
||
816 |
"Created: / 29.10.1997 / 18:17:55 / cg" |
|
817 |
"Modified: / 29.10.1997 / 18:28:53 / cg" |
|
818 |
! ! |
|
819 |
||
164 | 820 |
!UISpecificationTool methodsFor:'bindings'! |
821 |
||
1315 | 822 |
acceptChannel |
823 |
"return the value of the instance variable 'acceptChannel' (automatically generated)" |
|
824 |
||
825 |
^ masterApplication acceptChannel |
|
826 |
! |
|
827 |
||
164 | 828 |
aspectFor:aKey |
829 |
"returns aspect for a key or nil |
|
830 |
" |
|
831 |
aspects notNil ifTrue:[ |
|
832 |
^ aspects at:aKey ifAbsent:nil |
|
833 |
]. |
|
834 |
^ super aspectFor:aKey |
|
835 |
||
428 | 836 |
! |
837 |
||
1313 | 838 |
buildInView |
839 |
^ buildInView |
|
1307 | 840 |
! |
841 |
||
584
351914fcc5a4
Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents:
580
diff
changeset
|
842 |
specificationFor:aKey |
351914fcc5a4
Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents:
580
diff
changeset
|
843 |
"this is called if our current specification contains |
351914fcc5a4
Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents:
580
diff
changeset
|
844 |
subspecifications or subcanvases. |
351914fcc5a4
Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents:
580
diff
changeset
|
845 |
Get the subspecification from the current specification" |
351914fcc5a4
Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents:
580
diff
changeset
|
846 |
|
1307 | 847 |
specification notNil ifTrue:[ |
848 |
^ specification class perform:aKey ifNotUnderstood:nil |
|
584
351914fcc5a4
Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents:
580
diff
changeset
|
849 |
]. |
351914fcc5a4
Define #specificationFor: to fetch subspecifications and
Stefan Vogel <sv@exept.de>
parents:
580
diff
changeset
|
850 |
^ nil |
172 | 851 |
! ! |
852 |
||
853 |
!UISpecificationTool methodsFor:'change & update'! |
|
164 | 854 |
|
172 | 855 |
update |
856 |
"reload specification |
|
164 | 857 |
" |
172 | 858 |
specChannel notNil ifTrue:[ |
859 |
specChannel value:specification. |
|
860 |
] |
|
164 | 861 |
|
862 |
||
863 |
! |
|
864 |
||
865 |
update:something with:someArgument from:someone |
|
866 |
"any attribute changed its state in the current specification |
|
867 |
" |
|
868 |
someone ~~ modifiedHolder ifTrue:[ |
|
893 | 869 |
"/ any in the spec has changed. |
870 |
"/ update my modified holders value |
|
871 |
||
1071 | 872 |
modifiedHolder value:true |
164 | 873 |
] |
874 |
||
893 | 875 |
"Modified: / 16.7.1998 / 19:25:59 / cg" |
164 | 876 |
! ! |
877 |
||
1315 | 878 |
!UISpecificationTool methodsFor:'initialization'! |
879 |
||
880 |
initialize |
|
881 |
super initialize. |
|
882 |
buildInView := BuildInView new. |
|
883 |
! ! |
|
884 |
||
164 | 885 |
!UISpecificationTool methodsFor:'selection'! |
886 |
||
887 |
selection:something |
|
172 | 888 |
"selection changed |
889 |
" |
|
1307 | 890 |
|slices index spec window| |
164 | 891 |
|
172 | 892 |
specification notNil ifTrue:[ |
893 |
slices := specification class slices. |
|
1307 | 894 |
index := slices findFirst:[:aSlice| aSlice first = something ]. |
164 | 895 |
|
1307 | 896 |
index ~~ 0 ifTrue:[ |
897 |
spec := specification class perform:((slices at:index) last) |
|
428 | 898 |
] |
164 | 899 |
]. |
900 |
||
172 | 901 |
spec ~= selection ifTrue:[ |
1307 | 902 |
(selection := spec) notNil ifTrue:[ |
903 |
listOfSpecViews isNil ifTrue:[ |
|
904 |
listOfSpecViews := Array new:(slices size). |
|
905 |
] ifFalse:[ |
|
906 |
window := listOfSpecViews at:index |
|
907 |
]. |
|
908 |
window isNil ifTrue:[ |
|
909 |
builder buildFromSpec:spec in:(window := SimpleView new). |
|
910 |
listOfSpecViews at:index put:window. |
|
911 |
]. |
|
912 |
]. |
|
1315 | 913 |
buildInView scrolledView:window. |
164 | 914 |
]. |
915 |
! ! |
|
916 |
||
1307 | 917 |
!UISpecificationTool::BuildInView methodsFor:'accessing'! |
759 | 918 |
|
1315 | 919 |
destroyAllSubSpecs |
920 |
"destroy all subViews which represents a specification |
|
921 |
" |
|
922 |
outerFrame destroySubViews. |
|
923 |
||
924 |
scrolledView notNil ifTrue:[ |
|
925 |
scrolledView := nil. |
|
926 |
self sizeChanged:nil. |
|
927 |
] |
|
928 |
||
929 |
||
930 |
! |
|
931 |
||
1307 | 932 |
scrolledView:aView |
933 |
"set the view to be scrolled" |
|
1351
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
934 |
|scr theOneComponent y| |
1307 | 935 |
|
936 |
scrolledView == aView ifTrue:[^ self]. |
|
759 | 937 |
|
1307 | 938 |
scrolledView notNil ifTrue:[scrolledView unmap]. |
759 | 939 |
|
1307 | 940 |
(scrolledView := aView) isNil ifTrue:[ |
941 |
^ self |
|
942 |
]. |
|
943 |
||
944 |
scrolledView superView == outerFrame ifFalse:[ |
|
945 |
scrolledView borderWidth:0; level:0. |
|
845
146b3f78afcb
we dont want any 3D effect for the scrolled view
Claus Gittinger <cg@exept.de>
parents:
837
diff
changeset
|
946 |
|
1307 | 947 |
outerFrame addSubView:scrolledView. |
1351
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
948 |
scrolledView subViews size == 1 ifTrue:[ |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
949 |
theOneComponent := scrolledView subViews first. |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
950 |
theOneComponent isScrollWrapper ifTrue:[ |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
951 |
"/ give it a full-relative size, and let it do |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
952 |
"/ the scrolling itself. |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
953 |
y := 1.0 |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
954 |
] |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
955 |
]. |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
956 |
y isNil ifTrue:[ |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
957 |
y := scrolledView preferredExtent y |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
958 |
]. |
811686e8acab
no additional scrollBar, if embedded view is itself a scrollable
Claus Gittinger <cg@exept.de>
parents:
1344
diff
changeset
|
959 |
scrolledView origin:0@0 corner:1.0 @ y. |
1307 | 960 |
scrolledView := scrolledView. |
961 |
scrolledView allViewBackground:(self viewBackground). |
|
759 | 962 |
]. |
845
146b3f78afcb
we dont want any 3D effect for the scrolled view
Claus Gittinger <cg@exept.de>
parents:
837
diff
changeset
|
963 |
|
1307 | 964 |
realized ifTrue:[ |
965 |
scrolledView realize. |
|
966 |
self sizeChanged:nil. |
|
967 |
]. |
|
759 | 968 |
|
1307 | 969 |
|
970 |
||
971 |
||
972 |
||
759 | 973 |
! ! |
974 |
||
1313 | 975 |
!UISpecificationTool::BuildInView methodsFor:'initialization'! |
976 |
||
1315 | 977 |
initialize |
978 |
super initialize. |
|
979 |
outerFrame := SimpleView origin:0.0@0.0 corner:1.0@1.0 in:self. |
|
980 |
outerFrame borderWidth:0; level:0. |
|
981 |
||
982 |
||
983 |
! |
|
984 |
||
1313 | 985 |
level:aLevel |
986 |
super level:0 |
|
987 |
! |
|
988 |
||
989 |
realize |
|
1315 | 990 |
|
1313 | 991 |
super realize. |
992 |
superView notNil ifTrue:[superView level:0]. |
|
993 |
! ! |
|
994 |
||
164 | 995 |
!UISpecificationTool class methodsFor:'documentation'! |
996 |
||
997 |
version |
|
998 |
^ '$Header$' |
|
999 |
! ! |