RE: How To : Delegates
RE: How To : Delegates
- Subject: RE: How To : Delegates
- From: Andy Beier <email@hidden>
- Date: Wed, 26 Jan 2005 17:28:02 -0700
- Thread-topic: How To : Delegates
What you will need to do is define a class that implements the
displayGroupDisplayArrayForObjects method then in you Application class
constructor put:
WODisplayGroup.setDelegate(new YourDelegateObject());
That is all there is to it.
Good Luck,
Andy
-----Original Message-----
From: webobjects-dev-bounces+abeier=email@hidden
[mailto:webobjects-dev-bounces+abeier=email@hidden] On Behalf
Of Owen McKerrow
Sent: Wednesday, January 26, 2005 5:14 PM
To: List WebObjects
Subject: How To : Delegates
Hi All,
Just wondering how I implement delegates ?
Do I make a subclass of the thing I want a delegate for and then
implement that delegate method in the sub-class ?
Will it then be automatically called for me when it needs to be then ?
In particular Im looking at WODisplayGroups
displayGroupDisplayArrayForObjects delegate method.
Thanks
Owen McKerrow
WebMaster, emlab
http://emlab.uow.edu.au
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - -
"I like the way this project has somehow, against all common sense, got
itself made."
- Peter Jackson, "The Lord of The Rings"
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden