Re: Java delegate for NSBrowser?
Re: Java delegate for NSBrowser?
- Subject: Re: Java delegate for NSBrowser?
- From: "Chris Backas" <email@hidden>
- Date: Thu, 27 Sep 2001 20:41:19 -0400 (EDT)
- Priority: Normal
>
*** Illegal NSBrowser delegate
>
(SRImageOpManager$SRImageOpBrowserDelegate@7dc96c). Must implement
>
browser:willDisplayCell:atRow:column: and either
>
browser:numberOfRowsInColumn: or browser:createRowsForColumn:inMatrix:
>
>
>
Is there a problem using a Java class as a delegate, or have I made some
>
much simpler (read: stupid) mistake.
The error is telling you all you need to know. There are several method that the delegate *can* implement, but in this case there are also some that the delegate *must* implement. I haven't specifically done this
with an NSBrowser, but NSOutlineView and NSListView work the same way. I know that in those cases the relevant information can be found in both the online documentation and the JavaBrowser.
Good luck!
Chris Backas