• 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
Cocoa-Java delegate name?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Cocoa-Java delegate name?
      • From: Chris Hanson <email@hidden>
    • Re: Cocoa-Java delegate name?
      • From: Scott Ellsworth <email@hidden>
  • Prev by Date: location of user-defaults
  • Next by Date: Re: location of user-defaults
  • Previous by thread: Re: location of user-defaults
  • Next by thread: Re: Cocoa-Java delegate name?
  • Index(es):
    • Date
    • Thread