2 summary::A Class describes the structure and implementation of a set objects which are its instances.
3 categories::Core>Kernel, Language>OOP
7 returns:: an link::Classes/Array:: of all Classes
13 Open a graphical browser for this Class. (OSX only). Shows methods, arguments, variables, subclasses, and has buttons for navigating to the superclass, source, helpfile, cvs, etc.
17 Find the Method referred to by name. If not found, return nil.
19 method::findRespondingMethodFor
21 As above, but climb the class tree to see if the method is inherited from a superclass. If not found, return nil.
23 method::dumpAllMethods
25 Post all instance methods which instances of this class responde too, including inherited ones. this.class.dumpAllMethods will post all class methods which this class responds to.
29 Dump the byte codes of the named method.
31 method::dumpClassSubtree
33 Post the tree of all Classes that inherit from this class.
37 Post all the methods defined by this Class and their arguments.
39 method::dumpFullInterface
41 Post all the class and instance methods that this class responds to (i.e. those defined in this class and those inherited by it).
45 Opens the help file for this Class if it exists.
49 Returns the path of this Class's helpfile as a String.
51 method::helpFileForMethod
53 Opens the helpfile for the class in which the responding method is implemented.
55 Array.helpFileForMethod('select'); // This will open the Collection helpfile
63 Return the name of the class as a String.
66 subsection:: Accessing
70 A Symbol that is the name of the class.
74 The next class in a linked list of all classes.
78 The Class from which this class directly inherits.
82 An Array of this class's superclasses, going back to Object.
86 An Array of the direct subclasses of this.
90 An Array of all subclasses of this.
94 An Array of the methods of this class.
98 An Array of the names of the instance variables for this class.
100 method::classVarNames
102 An Array of the names of the class variables for this class.
106 An Array of the initial values of instance variables.
110 An Array of the initial values of class variables.
112 method::filenameSymbol
114 A Symbol which is a path to the file which defines the Class.