Article View: borland.public.jbuilder.java.language
Article #18733Re: Retrieve values from another class
From: Andrew Bennett [ Inprise ]
Date: Thu, 07 May 1998 00:00
Date: Thu, 07 May 1998 00:00
31 lines
1465 bytes
1465 bytes
Richard Bakker wrote: > > When I make a calculation class I need lots of user interface settings > textfields etc.) > I don't whant to pass all this data in the calculation function via the > function call. > > Is there another way to retrieve the values from another class? Create an accessor method on the other class, like, getValue5, that returns the value of Value5. You could even create another method that sets the value, like, setValue5. Very Bean-like in it's approach. Andrew -- Andrew Bennett abennett@inprise.com Due to my workload, personal email more than likely won't get a reply. Support options are detailed at http://www.inprise.com/devsupport/ I am unable to answer support questions via email at this time. Check http://www.inrpise.com/devsupport/jbuilder/ for FAQs and additional JBuilder support related help.
Technical Details
Message-ID:
<35522028.9704E8F1@inprise.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<6iplr2$ju3$2@news.Zwolle.NL.net>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f74b3,2fddba7a4cbb62b3 X-Google-Attributes: gidf74b3,public From: "Andrew Bennett [ Inprise ]" <abennett@inprise.com> Subject: Re: Retrieve values from another class Date: 1998/05/07 Message-ID: <35522028.9704E8F1@inprise.com> X-Deja-AN: 351223162 Content-Transfer-Encoding: 7bit References: <6iplr2$ju3$2@news.Zwolle.NL.net> Content-Type: text/plain; charset=us-ascii Organization: Borland JBuilder -- http://www.inprise.com/jbuilder/ Mime-Version: 1.0 Newsgroups: borland.public.jbuilder.java.language