InspectorView.st
changeset 1570 7b8bda4df1dc
parent 1494 c54df3643894
child 1597 48629e1fc7b6
equal deleted inserted replaced
1569:96d29b2efc76 1570:7b8bda4df1dc
    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:
   901 ! !
   903 ! !
   902 
   904 
   903 !InspectorView class methodsFor:'documentation'!
   905 !InspectorView class methodsFor:'documentation'!
   904 
   906 
   905 version
   907 version
   906     ^ '$Header: /cvs/stx/stx/libtool/InspectorView.st,v 1.71 1998-02-26 02:01:45 cg Exp $'
   908     ^ '$Header: /cvs/stx/stx/libtool/InspectorView.st,v 1.72 1998-04-22 06:26:16 cg Exp $'
   907 ! !
   909 ! !