-
Notifications
You must be signed in to change notification settings - Fork 5
/
Classes-diagram.txt
506 lines (506 loc) · 16.2 KB
/
Classes-diagram.txt
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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
classDiagram
direction LR
_FORM_Controller --* formDelegate
formDelegate --* staticDelegate
formDelegate --* widgetDelegate
formDelegate --* buttonDelegate
formDelegate --* dropDownDelegate
formDelegate --* stepperDelegate
formDelegate --* thermometerDelegate
formDelegate --* selectorDelegate
formDelegate --* inputDelegate
formDelegate --* webAreaDelegate
formDelegate --* comboBoxDelegate
formDelegate --* pictureDelegate
formDelegate --* listboxDelegate
formDelegate --* hListDelegate
formDelegate --* subformDelegate
formDelegate --* windowDelegate
formDelegate --* constraintsDelegate
staticDelegate<|-- widgetDelegate
widgetDelegate <|-- buttonDelegate
widgetDelegate <|-- dropDownDelegate
widgetDelegate <|-- stepperDelegate
widgetDelegate <|-- scrollableDelegate
widgetDelegate <|-- thermometerDelegate
widgetDelegate <|-- selectorDelegate
widgetDelegate <|-- inputDelegate
widgetDelegate <|-- webAreaDelegate
dropDownDelegate <|-- comboBoxDelegate
scrollableDelegate <|-- pictureDelegate
scrollableDelegate <|-- listboxDelegate
scrollableDelegate <|-- hListDelegate
scrollableDelegate <|-- subformDelegate
staticDelegate <.. colour
class _FORM_Controller["_< FORM> _Controller"]{
+cs.formDelegate : form
+handleEvents(e : cs.evt)
}
namespace UI Classes {
class formDelegate["cs.formDelegate"] {
+cs.staticDelegate static
+cs.widgetDelegate widget
+cs.buttonDelegate button
+cs.pictureDelegate picture
+cs.dropDownDelegate dropDown
+cs.stepperDelegate stepper
+cs.thermometerDelegate thermometer
+cs.selectorDelegate selector
+cs.comboBoxDelegate comboBox
+cs.listboxDelegate listbox
+cs.hListDelegate hList
+cs.subformDelegate subform
+cs.webAreaDelegate webArea
+cs.windowDelegate window
+cs.constraintsDelegate constraints
+init()
+handleEvents(e : cs.evt)
+onLoad()
+update()
+onBoundVariableChange()
+saveContext()
+restoreContext()
+onOutsideCall()
+focused : Text
+highlight : Text
+darkScheme : Boolean
+lightScheme : Boolean
+resourceScheme : Text
+darkSuffix : Text
+worker : Variant
+containerName : Text
+container : Object
+containerInstance : Object
+containerValue : Variant
+events : Collection
+callback : Text
+page : Integer
+formObjects : Collection
+staticTexts : Collection
+staticPictures : Collection
+statics : Collection
+subforms : Collection
+instantiatedWidgets : Collection
+instantiatedSubforms : Collection
+dimensions : Dim
+horizontallyResizable : Boolean
+minWidth : Integer
+maxWidth : Integer
+verticallyResizable : Boolean
+minHeight : Integer
+maxHeight : Integer
+removeFocus()
+focusNext()
+focusPrevious()
+setEntryOrder()
+resourceFromScheme()
+refresh(tick : Integer)
+setTimer(tick : Integer)
+stopTimer()
+callWorker(method : Text; param 1-N)
+getContainerValue()
+setEvents(events)
+appendEvents(events)
+removeEvents(events)
+postKeyDown(key : Integer; modifier : Integer)
+callMeBack(param 1-N)
+callMe(method : Text; param 1-N)
+callChild(subform : Text; method : Text; param 1-N)
+callParent(event : Integer)
+setPageNames(names : Collection)
+goToPage(page : Variant; parent : Boolean)
+firstPage(parent : Boolean)
+lastPage(parent : Boolean)
+nextPage(parent : Boolean)
+previousPage(parent : Boolean)
+setCursor(cursor : Variant)
+releaseCursor(cursor : Variant)
+beginDrag(uri : Text; data : Variant; icon : Picture)
+getPasteboard(uri : Text) Variant
+getSubformInstance(name : Text) Object
+setHorizontalResising(resize : Boolean; min : Integer; max : Integer)
+setVerticalResising(resize : Boolean; min : Integer; max : Integer)
}
class windowDelegate["cs.windowDelegate"]{
+winRef ref
+Integer type
+Integer process
+winRef next
+Boolean isFrontmost
+Integer width
+Integer height
+Integer left
+Integer top
+Integer right
+Integer bottom
+Text title
+Object coordinates
+Object dimensions
+bringToFront()
+close()
+erase()
+hide()
+maximise()
+minimise()
+redraw()
+resize(width: Integer; height: Integer)
+setDimensions(width: Integer; height: Integer)
+show()
+vibrate(count: Integer)
}
class constraintsDelegate["cs.constraintsDelegate"]{
+rules : Collection
+load(file : 4D.File)
+setMetrics(metrics : Object)
+add(rule : Object)
+apply()
}
class staticDelegate["cs.staticDelegate"] {
+Text name
+Integer type
+Text title
+setTitle(title : Text) cs.staticDelegate
+Integer width
+setWidth(width : Integer) cs.staticDelegate
+Integer height
+setHeight(height : Integer) cs.staticDelegate
+Object dimensions
+setDimensions(width : Integer; height : Integer) cs.staticDelegate
+Object coordinates
+setsetCoordinates(left : Variant; top : Integer; right : Integer; bottom : Integer) cs.staticDelegate
+bestSize(alignment : Variant; minWidth : Integer; maxWidth : Integer) cs.staticDelegate
+moveHorizontally(offset : Integer) cs.staticDelegate
+resizeHorizontally(offset : Integer) cs.staticDelegate
+moveAndResizeHorizontally(offset : Integer; size : Integer) cs.staticDelegate
+moveHorizontally(offset : Integer) cs.staticDelegate
+resizeVertically(offset : Integer) cs.staticDelegate
+moveAndResizeVertically(offset : Integer; size : Integer) cs.staticDelegate
+updateCoordinates(left : Integer; top : Integer; right : Integer; bottom : Integer) cs.staticDelegate
+backupCoordinates() cs.staticDelegate
+restorePosition()
+Object windowCoordinates
+Boolean enabled
+enable(enabled : Boolean)
+Boolean disabled
+disable()
+Boolean visible
+show(visible : Boolean)
+Boolean hidden
+hide()
+cs.colour colors
+Variant foregroundColor
+Variant backgroundColor
+Variant altBackgroundColor
+setColors(foreground : Variant; background : Variant; altBackground : Variant) cs.staticDelegate
+Integer horizontalAlignment
+alignLeft(): cs.staticDelegate
+alignRight(): cs.staticDelegate
+Integer verticalAlignment
+alignTop(): cs.staticDelegate
+alignBottom(): cs.staticDelegate
+alignCenter(vertical : Boolean): cs.staticDelegate
+Text font
+setFont(font : Text): cs.staticDelegate
+Integer fontStyle
+setFontStyle(style : Integer): cs.staticDelegate
+Integer fontSize
+addToGroup(group cs.groupDelegate) cs.staticDelegate
+hiddenFromView() cs.staticDelegate
}
class widgetDelegate["cs.widgetDelegate"]{
+Text action
+Boolean assignable
+Pointer pointer
+Variant value
+getValue() Variant
+setValue(value : Variant) cs.widgetDelegate
+Boolean isEmpty
+Boolean isNotEmpty
+Boolean enterable
+setEnterable(enterable : Boolean) cs.widgetDelegate
+notEnterable() cs.widgetDelegate
+setShortcut(key : Text; modifier : Integer) cs.widgetDelegate
+notEnterable() cs.widgetDelegate
+Text helpTip
+getHelpTip() Text
+setHelpTip(helpTip : Text) cs.widgetDelegate
+removeHelpTip() cs.widgetDelegate
+Collection events
+addEvent(events) cs.widgetDelegate
+removeEvent(events) cs.widgetDelegate
+setEvents(events) cs.widgetDelegate
+catch($e; events) Boolean
+Variant data
+Text uri
+Boolean draggable
+setDraggable(enabled : Boolean; automatic : Boolean) cs.widgetDelegate
+setNotDraggable() cs.widgetDelegate
+Boolean droppable
+setDroppable(enabled : Boolean; automatic : Boolean) cs.widgetDelegate
+setNotDroppable() cs.widgetDelegate
+setDatasource(datasource) cs.widgetDelegate
+touch() cs.widgetDelegate
+setCallback(formula) cs.widgetDelegate
+execute()
+setFormat(format : Text) cs.widgetDelegate
+setPicture(proxy : Text) cs.widgetDelegate
+focus() cs.widgetDelegate
+isFocused() Boolean
}
class buttonDelegate["cs.buttonDelegate"]{
+Boolean linkedPopupMenu
+Picture picture
+Integer numStates
+Integer style
+Text styleName
+Integer horizontalMargin
+setLinkedPopupMenu() cs.buttonDelegate
+setSeparatePopupMenu() cs.buttonDelegate
+setNoPopupMenu() cs.buttonDelegate
+setPicture(proxy : Text) cs.buttonDelegate
+setBackgroundPicture(proxy : Text) cs.buttonDelegate
+setNumStates(state : Integer) cs.buttonDelegate
+setStyle(style : Integer) cs.buttonDelegate
+is3DButton() Boolean
+highlightShortcut() cs.buttonDelegate
}
class webAreaDelegate["cs.webAreaDelegate"]{
+Text url
+open(data)
+Text content
+setContent(content : Text; base : Text)
+Boolean loaded
+isLoaded() Boolean
+Text title
+Boolean canForwards
+forward()
+forwardMenu()
+Boolean canBackwards
+back()
+backMenu()
+Boolean success
+Collection errors
+Text lastError
+Collection filterdURLs
+Text lastFilteredURL
+load(file : 4D.File)
+stop()
+refresh()
+evaluateJS(code : Text; type : Integer) Variant
+allow(data; allow : Boolean)
+deny(data)
+inspector()
+zoomIn()
+zoomOut()
+zoom(in : Boolean)
+getWebEngine() Object
}
class scrollableDelegate["cs.scrollableDelegate"]{
+Object scrollbars
+setScrollbars(horizontal; vertical) cs.scrollableDelegate
+setHorizontalScrollbar(display) cs.scrollableDelegate
+setVerticalScrollbar(display) cs.scrollableDelegate
+Variant scroll
+getScrollPosition() Variant
+setScrollPosition(vertical; horizontal) cs.scrollableDelegate
}
class inputDelegate["cs.inputDelegate"]{
+Boolean asPasword
+Text filter
+getFilter() Text
+setFilter(filter; separator : Text) cs.inputDelegate
+Text placeholder
+setPlaceholder(placeholder : Text) cs.inputDelegate
+backup(value) cs.inputDelegate
+Boolean modified
+highlighted() Object
+highlight(startSel : Integer; endSel : Integer) cs.inputDelegate
+highlightLastToEnd() cs.inputDelegate
+highlightingStart() Integer
+highlightingEnd() Integer
}
class dropDownDelegate["cs.dropDownDelegate"]{
+Object data
+Text placeholder
+Integer index
+Variant currentValue
+Collection values
+clear() cs.dropDownDelegate
}
class comboBoxDelegate["cs.comboBoxDelegate"]{
+Boolean automaticExpand
+Text filter
+expand()
+automaticInsertion(ordered : Boolean)
}
class selectorDelegate["cs.selectorDelegate"]{
+Object data
+Integer index
+Text current
+Collection values
+Collection binding
+select(element) cs.selectorDelegate
}
class stepperDelegate["cs.stepperDelegate"]{
+start()
+stop()
+isRunning() Boolean
}
class thermometerDelegate["cs.thermometerDelegate"]{
+asynchronous() cs.thermometerDelegate
+isAsynchronous() Boolean
+barber() cs.thermometerDelegate
+isBarber() Boolean
+progress() cs.thermometerDelegate
+isProgress() Boolean
+setIndicatorType(type : Integer) cs.thermometerDelegate
+getIndicatorType() Integer
+start()
+stop()
}
class pictureDelegate["cs.pictureDelegate"]{
+Picture value
+Text fileName
+Integer size
+getDimensions() Object
+read(file : 4D.File) cs.pictureDelegate
+thumbnail(width : Integer; height : Integer; mode : Integer) cs.pictureDelegate
+getThumbnail(width : Integer; height : Integer; mode : Integer) Picture
+horizontalConcatenation(file : 4D.File) cs.pictureDelegate
+verticalConcatenation(file : 4D.File) cs.pictureDelegate
+superImposition(file : 4D.File; horOffset : Integer; vertOffset : Integer) cs.pictureDelegate
+findByCoordinates() Text
+getAttribute(id : Text; attribute : Text; type : Integer) Variant
+setAttributes(id : Text; attributes : Collection)
+setAttribute(id : Text; name : Text; value)
}
class listboxDelegate["cs.listboxDelegate"]{
+Object item
+Integer itemPosition
+Collection items
+Integer columnsNumber
+Integer rowsNumber
+Integer movableLines
+setMovableLines(enabled : Boolean) cs.listboxDelegate
+setNotMovableLines() cs.listboxDelegate
+Boolean selectable
+setSelectable(enabled : Boolean; mode : Integer) cs.listboxDelegate
+setNotSelectable() cs.listboxDelegate
+Boolean singleSelection
+setSingleSelectable() cs.listboxDelegate
+Boolean multipleSelection
+setMultipleSelectable() cs.listboxDelegate
+selected() Integer
+selectAll(): cs.listboxDelegate
+select(row : Integer) cs.listboxDelegate
+unselect(row : Integer) cs.listboxDelegate
+selectFirstRow() cs.listboxDelegate
+selectLastRow() cs.listboxDelegate
+autoSelect()
+doSafeSelect(row : Integer) cs.listboxDelegate
+Boolean sortable
+setSortable(enabled : Boolean) cs.listboxDelegate
+setNotSortable() cs.listboxDelegate
+Boolean selectionHighlight
+withSelectionHighlight(enabled : Boolean) cs.listboxDelegate
+withoutSelectionHighlight() cs.listboxDelegate
+Text dataSourceType
+Object properties
+getProperties(column : Text) Object
+setProperty(property : Integer; value) cs.listboxDelegate
+saveProperties()
+restoreProperties()
+setRowsHeight(height : Integer; unit : Integer) cs.listboxDelegate
+isCollection() Boolean
+isEntitySelection() Boolean
+isArray() Boolean
+isHierarchical() Boolean
+selectBreak(row : Integer; column : Integer) cs.listboxDelegate
+collapse(row : Integer; selector : Integer; recursive : Boolean) cs.listboxDelegate
+collapseAll() cs.listboxDelegate
+expand(row : Integer; selector : Integer; recursive : Boolean) cs.listboxDelegate
+expandAll() cs.listboxDelegate
+columnPtr(name : Text) Pointer
+columnNumber(name : Text) Integer
+getColumnName(columnNumber : Integer) Text
+getHeaderName(columnNumber : Integer) Text
+getFooterName(columnNumber : Integer) Text
+setRowForegroundColor(row : Integer; color; target)
+resetForegroundColor(target)
+setRowFontStyle(row : Integer; style : Integer)
+cellPosition($e : evt) Object
+cellCoordinates(column : Integer; row : Integer) Object
+rowCoordinates(row : Integer) Object
+edit(target; item : Integer)
+reveal(row : Integer) cs.listboxDelegate
+updateDefinition() cs.listboxDelegate
+updateCell() cs.listboxDelegate
+popup(menu : cs.menu; default : Text) cs.menu
+showColumn(column; visible : Boolean) cs.listboxDelegate
+hideColumn(column) cs.listboxDelegate
+clear() cs.listboxDelegate
+deleteRows(row : Integer) cs.listboxDelegate
+setSystemFormat()
}
class subformDelegate["cs.subformDelegate"]{
+Object parent
+Object forms
+setSubform(detail : Text; list : Text; table : Pointer) cs.subformDelegate
+cs.formDelegate : form
+setPrivateEvents(events : Object)
+refresh(delay : Integer)
+stopTimer()
+focus(widget : Text)
+removeFocus()
+enable(widget : Text)
+disable(widget : Text)
+getParentDimensions() cs.dim
+alignHorizontally(alignment : Integer; reference)
}
class hListDelegate["cs.hListDelegate"]{
+Boolean isList
+Integer itemCount
+Integer visibleItemCount
+Object properties
+Collection selected
+Collection selectedReferences
+Boolean collapsable
+Boolean expandable
+Text itemValue
+Integer itemRef
+Integer itemSublist
+Boolean itemExpanded
+Picture itemIcon
+Integer itemPosition
+Integer parent
+Collection selectedItemIndexes
+Collection selectedItemReferences
+Collection parameters
}
class groupDelegate["cs.groupDelegate"]{
+Collection members
+add(member) cs.groupDelegate
+belongsTo(widget) Boolean
+Variant data
+show(visible : Boolean) cs.groupDelegate
+hide() cs.groupDelegate
+enable(enabled : Boolean) cs.groupDelegate
+disable() cs.groupDelegate
+enclosingRect(gap : Integer) cs.coord
+moveVertically(offset : Integer)
+hiddenFromView()
+moveHorizontally(offset : Integer)
+distributeLeftToRight(params : Object) cs.groupDelegate
+distributeRigthToLeft(params : Object) cs.groupDelegate
+center(horizontally : Boolean; vertically : Boolean)
+centerVertically(reference : Text) cs.groupDelegate
+alignLeft(reference : Text) cs.groupDelegate
+alignRight(reference : Text) cs.groupDelegate
+setFontStyle(style : Integer) cs.groupDelegate
}
class colour["cs.colour"]{
+Text foreground
+Text background
+Text altBackground
}
}