34 " |
34 " |
35 ! |
35 ! |
36 |
36 |
37 documentation |
37 documentation |
38 " |
38 " |
39 This class implements an graphical inspector. |
39 This class implements a graphical inspector. |
40 Inspecting can be done on an object - |
40 Inspecting can be done on an object - |
41 (where its instvarnames/values are inspected) |
41 (where its instvarnames/values are inspected) |
42 or a list of objects (where a namearray/valuesarray is inspected). |
42 or a list of objects (where a nameArray/valuesArray is inspected). |
43 The later is used by the debugger to inspect method variables/args. |
43 The later is used by the debugger to inspect method variables/args. |
44 |
44 |
45 The system calls the inspector through the global variable 'Inspector' |
45 The system calls the inspector through the global variable 'Inspector' |
46 which is bound to this class (but could be redefined - it actually is |
46 which is bound to this class (but could be redefined - it actually is |
47 set to MiniInspector in a smalltalk without graphical user interface). |
47 set to MiniInspector in a smalltalk without graphical user interface, |
|
48 or to NewInspector if that is wanted). |
48 |
49 |
49 Also notice, that there are two methods to inspect an object: |
50 Also notice, that there are two methods to inspect an object: |
50 sending #basicInspect to any object, will open this kind of inspector on |
51 sending #basicInspect to any object, will open this kind of inspector on |
51 it (showing instance variables which are physically present). |
52 it (showing instance variables which are physically present). |
52 |
53 |
53 Sending it #inspect, will - depending on the object - sometimes invoke a |
54 Sending it #inspect, will - depending on the object - sometimes invoke a |
54 specialized inspector. |
55 specialized inspector. |
55 (see OrderedCollectionInspectorView, ImageInspectorView etc. as examples). |
56 (see OrderedCollectionInspectorView, ImageInspectorView, |
|
57 ColorInspectorView etc. as examples). |
56 |
58 |
57 You can also open a monitoring inspector, which displays some instance |
59 You can also open a monitoring inspector, which displays some instance |
58 variable in regular intervals. See #openOn:monitor:. |
60 variable in regular intervals. See #openOn:monitor:. |
59 |
61 |
60 examples: |
62 examples: |