• 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: monitoring table selection
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: monitoring table selection


  • Subject: Re: monitoring table selection
  • From: Niko Matsakis <email@hidden>
  • Date: Sun, 4 May 2003 18:40:53 -0400 (EDT)

In answer to my own question, the right technique turned out to use a
delegate to receive notification when the selection changed; at least, it
seems the most elegant.

My problem w.r.t to the setAction() method, however, was that I was not
calling setTarget() as well.


niko

On Sun, 4 May 2003, Niko Matsakis wrote:

> How can I be notified when particular row in a table is selected? I'm
> using Cocoa-Java, though I expect it makes no difference. I tried calling
> setAction(), but the method I provided to it never gets called. I don't
> really understand setAction()'s workings anyhow.
>
> niko
> _______________________________________________
> 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.
_______________________________________________
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.

References: 
 >monitoring table selection (From: Niko Matsakis <email@hidden>)

  • Prev by Date: Re: Cocoa - Naive questions about memory
  • Next by Date: Disk Image Volumes
  • Previous by thread: When to use Java with Cocoa
  • Next by thread: Re: monitoring table selection
  • Index(es):
    • Date
    • Thread