• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Manual filling NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Manual filling NSTableView (From: email@hidden)
 >Re: Manual filling NSTableView (From: j o a r <email@hidden>)
 >Re: Manual filling NSTableView (From: email@hidden)

  • Prev by Date: Re: NSAppKitVersionNumber for 10.3.0?
  • Next by Date: Re: Debugging System Prefpane
  • Previous by thread: Re: Manual filling NSTableView
  • Next by thread: NSOutlineView: prevent item to expand on drag
  • Index(es):
    • Date
    • Thread