Next: , Previous: , Up: Behavior   [Index]


1.9.21 Behavior: support for lightweight classes

article

Answer an article (‘a’ or ‘an’) which is ok for the receiver’s name

asClass

Answer the first superclass that is a full-fledged Class object

environment

Answer the namespace that this class belongs to - the same as the superclass, since Behavior does not support namespaces yet.

name

Answer the class name; this prints to the name of the superclass enclosed in braces. This class name is used, for example, to print the receiver.

nameIn: aNamespace

Answer the class name when the class is referenced from aNamespace - a dummy one, since Behavior does not support names.

printOn: aStream in: aNamespace

Answer the class name when the class is referenced from aNamespace - a dummy one, since Behavior does not support names.

securityPolicy

Not commented.

securityPolicy: aSecurityPolicy

This method should not be called for instances of this class.