Encapsulating Communication Between Objects
Hello,
A TabStrip for example contains a collection called Tabs, which in
turn holds Tab Objects. Similar to this structure I'm trying to build
an object Parties, which has to act like a collection (similar to Tabs
Object) and an object Party (similar to the Tab Object). Now there's
some interaction needed between these two objects which I don't want
to be seen by the outer world: I want to encapsulate this.
I want a Party Object to be able to change a certain Private (Module)
Variable of the Parties object, which I can't do by using the set of
Properties which I provide the outer world.
Is there a way to do this?
Regards,
Bart
|