Cocoa-Java delegate name?
Cocoa-Java delegate name?
- Subject: Cocoa-Java delegate name?
- From: Scott Ellsworth <email@hidden>
- Date: Mon, 16 Jun 2003 14:02:05 -0700
Howdy, all.
I am implementing column sorting in a Cocoa-Java app. This requires me
to implement the NSTableView delegate method tableView: ( NSTableView
*) tableView didClickTableColumn: ( NSTableColumn *) tableColumn for my
table view.
In IB, I made MyDocument.java the appropriate delegate, and then went
to add the appropriate method. And there, I got stuck.
Anyone willing to tell me what the delegate method is called, and
perhaps more important, where I could have found the name in the docs?
I have tried a number of variants on
public void tableViewDidClickTableColumn(NSTableView tableView,
NSTableColumn tableColumn){
System.out.println("tableViewDidClickTableColumn("+tableView+",
"+tableColumn+")");
}
or
public void tableViewDidClick(NSTableView tableView, NSTableColumn
tableColumn){
System.out.println("tableViewDidClickTableColumn("+tableView+",
"+tableColumn+")");
}
but neither is called, and I am loathe to just guess.
Can anyone tell me where I could find this answer?
Thanks,
Scott
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.