Re: Manual filling NSTableView
Re: Manual filling NSTableView
- Subject: Re: Manual filling NSTableView
- From: Scott Stevenson <email@hidden>
- Date: Thu, 16 Sep 2004 14:18:30 -0700
On Sep 16, 2004, at 11:07 AM, email@hidden wrote:
<http://www.cocoadevcentral.com/articles/000063.php>
...and of course Apples official docs for NSTableView,
NSTableDataSource, et.c.
j o a r
I've been looking through all this pages before, but the problem is
that I'm developing in java... it's much harder to find a example for
java.
If anyone could help with a simple example...
The principles are the same, it's just that you're using Java methods
instead of Objective-C messages. The methods even have the same names.
So when the tutorial above says:
- (int) numberOfRowsInTableView: (NSTableView *)aTableView
You can mentally translate to:
public abstract int numberOfRowsInTableView(NSTableView aTableView)
Other than this, everything is essentially the same. It might take some
trial and error, but you can definitely do it.
Here's the list of Java datasource methods for NSTableView:
<http://developer.apple.com/documentation/Cocoa/Reference/
ApplicationKit/Java/Protocols/NSTableDataSource.html>
- Scott
--
Tree House Ideas
http://treehouseideas.com/
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden