eXept Software AG Logo

Smalltalk/X Webserver

Documentation of class 'WeakInterestConverter':

Home

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

Class: WeakInterestConverter


Inheritance:

   Object
   |
   +--InterestConverter
      |
      +--WeakInterestConverter

Package:
stx:libbasic
Category:
Interface-Support-Models
Version:
rev: 1.4 date: 2011/09/29 11:19:04
user: cg
file: WeakInterestConverter.st directory: libbasic
module: stx stc-classLibrary: libbasic
Author:
Claus Gittinger

Description:


these are much like InterestConverters; however, the reference to
the destination is weak, which allows for them to be garbage collected.


Class protocol:

instance creation
o  destination: anObject selector: aSelector
create & return an interestConverter, which sends aSelector
to anObject when a change notification arrives

o  destination: anObject selector: aSelector aspect: aspect
create & return an interestConverter, which sends aSelector
to anObject when a change notification for aspect arrives


Instance protocol:

accessing
o  aspect
return my aspect (if any)

o  destination
return my destination

o  destination: dest selector: sel
set destination and selector

o  destination: dest selector: sel aspect: a
set destination, selector and aspect

change & update
o  update: something with: aParameter from: someObject



ST/X 7.1.0.0; WebServer 1.663 at exept.de:8081; Sun, 18 Nov 2018 07:50:02 GMT