Article View: borland.public.jbuilder.java.swing
Article #8428Re: Multiple Event Listeners For One event
From: Paul Furbacher [TeamB]
Date: Thu, 17 Aug 2000 00:00
Date: Thu, 17 Aug 2000 00:00
22 lines
1394 bytes
1394 bytes
Ali Demir wrote: > > Thank you very much Dave. That's a good idea. How about if the event is > fired in someone else's code? What do people do in that case most of the > time? AWT events etc? Is there a common practice? > > > I have Multiple Event Listeners For One event. If one of the listeners > > > handles the event, I would like other listeners to skip this event. > > > > > > Is there a recommended way of implementing a design pattern so that this > > > kind of problem is nicely handled? > > > > > > For example it would be nice if the event class had a property which I > > could > > > set to 'handled'... What about consuming the event in a manner similar to mouse and key events? The code is there to study and ponder. Paul Furbacher (TeamB)
Technical Details
Message-ID:
<399C88B7.7CBE20F1@home.com>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<399a025d$1_2@dnews> <399a8d44_1@dnews> <399b75b0$1_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111d45,3998603c7ea30180 X-Google-Attributes: gid111d45,public From: "Paul Furbacher [TeamB]" <pnf@home.com> Subject: Re: Multiple Event Listeners For One event Date: 2000/08/17 Message-ID: <399C88B7.7CBE20F1@home.com> X-Deja-AN: 659551588 Content-Transfer-Encoding: 7bit References: <399a025d$1_2@dnews> <399a8d44_1@dnews> <399b75b0$1_1@dnews> X-Accept-Language: en,pdf Content-Type: text/plain; charset=us-ascii Organization: Reverse Alchemy, Inc. Mime-Version: 1.0 Reply-To: pnf@home.com Newsgroups: borland.public.jbuilder.java.swing