Article View: comp.sys.next.programmer
Article #1153Re: lots of objects to display
From: Subrata Sircar
Date: Fri, 14 Aug 1992 22:01
Date: Fri, 14 Aug 1992 22:01
20 lines
1510 bytes
1510 bytes
ede978e@monu6.cc.monash.edu.au (Robert D. Nicholson) writes: >woo@ornl.gov(John W. Wooten) writes: >>I want them [list of varying elements] to be drawn in a View (myView) in >>myWindow. Each element subclass has a drawSelf method and each instance >>has it, of course. [Robert Nicholson's suggestion deleted, because it is essentially the same as my own] Or you could do it the way draw does it; when the myView is called on to draw itself, it sends the draw method to the entire list. Check out GraphicView, in the Draw example source code. All the elements are subclasses of Graphic. -- Subrata Sircar | ssircar@canon.com | Prophet & SPAMIT Charter Member Canon Information Systems and I do not speak for each other on all things. "I wish people wouldn't instantly assume that I am an idiot." (Valentine) "A restaurant is a whorehouse that does food instead of sex." (Roger Lustig)
Technical Details
Message-ID:
<1992Aug14.220149.17584@Princeton.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!usc!elroy.jpl.nasa.gov!swrinde!mips!darwin.sura.net!jvnc.net!princeton!phoenix.Princeton.EDU!sksircarReferences:
<1992Aug13.204505.26009@ornl.gov> <1992Aug14.070249.13214@monu6.cc.monash.edu.au>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!elroy.jpl.nasa.gov!swrinde!mips!darwin.sura.net!jvnc.net!princeton!phoenix.Princeton.EDU!sksircar From: ssircar@canon.com (Subrata Sircar) Newsgroups: comp.sys.next.programmer Subject: Re: lots of objects to display Message-ID: <1992Aug14.220149.17584@Princeton.EDU> Date: 14 Aug 92 22:01:49 GMT References: <1992Aug13.204505.26009@ornl.gov> <1992Aug14.070249.13214@monu6.cc.monash.edu.au> Sender: ssircar@canon.com Reply-To: ssircar@canon.com (Subrata Sircar) Organization: SPAMIT Lines: 20 Originator: news@nimaster Nntp-Posting-Host: phoenix.princeton.edu