eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'Trait':

Home

Documentation
www.exept.de
Everywhere
for:
[back]

Class: Trait


Inheritance:

   Object
   |
   +--Behavior
      |
      +--ClassDescription
         |
         +--Class
            |
            +--Trait

Package:
stx:libbasic
Category:
Kernel-Classes
Version:
rev: 1.6 date: 2023/07/10 08:09:52
user: cg
file: Trait.st directory: libbasic
module: stx stc-classLibrary: libbasic

Description:


being developed; currently unsupported.
However, present to provide a place for Squeak code to be filed in.


Class protocol:

accessing
o  addUser: aClass
self theNonMetaclass addUser:aClass

o  classTrait

o  defaultCategoryForUncategorizedTraits

o  removeUser: aClass

instance creation
o  name: newName
Trait name:'TTest'

o  named: newName instanceVariableNames: stringOfInstVarNames package: package

o  named: newName uses: usedTraits package: package

o  named: newName uses: usedTraits slots: slots package: package

testing
o  isTrait
(comment from inherited method)
Return true if the receiver is a trait.
Note: Do not override in any class except TraitBehavior.


Instance protocol:

accessing
o  addUser: aClass

o  classTrait

o  removeUser: aClass



ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Mon, 18 Nov 2024 06:53:41 GMT