• 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
NSBrowser with custom cells
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSBrowser with custom cells


  • Subject: NSBrowser with custom cells
  • From: Graham <email@hidden>
  • Date: Sun, 28 May 2006 06:46:42 -0400

I am writing a Cocoa-Java app.

I have an NSBrowser in which I am placing custom cells, extensions of NSBrowserCell.

In order to set the display values in the cells I have a browserWillDisplayCell() method in my browser's delegate. This method is called fine.

However, I want to customize the drawing for my cells and thus I tried to override my cells' drawInteriorWithFrameInView() method, but when I override this method, the browserWillDisplayCell() no longer gets called in my delegate which seems odd, at least not until I click on a cell anyway.

Any ideas to my problem? A better way to do it?

Thanks

Graham
_______________________________________________
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


  • Follow-Ups:
    • Re: NSBrowser with custom cells
      • From: Lon Giese <email@hidden>
  • Prev by Date: Re: Alternatives to NSMatrix and NSTable?
  • Next by Date: Re: NSBrowser with custom cells
  • Previous by thread: NSOutlineView - Trouble validating edits
  • Next by thread: Re: NSBrowser with custom cells
  • Index(es):
    • Date
    • Thread