• 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
Class.this.. ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Class.this.. ?


  • Subject: Class.this.. ?
  • From: Ash Mishra <email@hidden>
  • Date: Sat, 20 Sep 2008 13:36:02 -0700

Hi all,

Was wondering if someone could help me understand what this line means:
   MyListPage.this.myDisplayGroup.insertObjectAtIndex(eo,0);

This is taken from the example source code here in the section Setting up a Next-Page Delegate:
http://developer.apple.com/documentation/WebObjects/Developing_With_D2W/Customizing/chapter_4_section_3.html



I understand what it's doing (i.e. accessing the woDisplayGroup and setting a value in it) but I've not seen the MyListPage.this. reference before, where the class name is followed by 'this' and than a variable of the class.


Is this some special Java reference?

thanks
Ash

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Class.this.. ?
      • From: Florijan Stamenkovic <email@hidden>
    • Re: Class.this.. ?
      • From: Chuck Hill <email@hidden>
  • Prev by Date: Re: uniqueness constraint on an a foreign key
  • Next by Date: Re: Class.this.. ?
  • Previous by thread: Re: [OT] Eclipse class search shortcut
  • Next by thread: Re: Class.this.. ?
  • Index(es):
    • Date
    • Thread