Hi Paul I'm sorry, I haven't looked at the documentation for a while ;-) But I'm sure Canoo can point you to an existing example.
Basically, create a listener class, an event class, and a server-side API to register listeners and then catch the Swing event on the client-side, forward it to the server, and notify the attached listeners. Regards, Etienne > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:ulc-developer- > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > Sent: Wednesday, July 26, 2006 1:31 AM > To: [email protected] > Subject: RE: [ULC-developer] Double Click in an ULCTextField > > Hi Etienne > > This all sounds fine, but do you have any examples? I have checked out the > Extension Guide but the example for creating custom events is not based > upon an ULCComponent, or if it is, I can't see the code for this. > > Paul Harrison > > > > > Add a mouse listener to the Swing text field and check for double-click on > the client-side. If a double-click has happened, send an event to the > server-side using ULC's event delivery mechanism. You can then notify > registered listeners, for example of type IDoubleClickListener. > > Of course, you have to write an extension in order to achieve this. > > Etienne > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] [mailto:ulc-developer- > > > [EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] > > > Sent: Wednesday, July 19, 2006 7:52 AM > > > To: [email protected] > > > Subject: [ULC-developer] Double Click in an ULCTextField > > > > > > I need to perform an action when the users double click within an > > > ULCTextField. I have searched the archive but have onlyfound double > > > clicking in an ULCTable (action Listener). How do I know that a user > has > > > double clicked on an ULCTextItem? > > > > > > Thanks > > > _____________________________________________________________ > > > NEU: Ihre Photos online verwalten, mit anderen teilen und die besten > > > Bilder gleich entwickeln lassen - GRATIS für den 1. Monat (exkl. > > > Entwicklung) > > > www.sunrise.ch/photoalbum > > > _______________________________________________ > > > ULC-developer mailing list > > > [email protected] > > > http://lists.canoo.com/mailman/listinfo/ulc-developer > > _____________________________________________________________ > NEU: Ihre Photos online verwalten, mit anderen teilen und die besten > Bilder gleich entwickeln lassen - GRATIS für den 1. Monat (exkl. > Entwicklung) > www.sunrise.ch/photoalbum > _______________________________________________ > ULC-developer mailing list > [email protected] > http://lists.canoo.com/mailman/listinfo/ulc-developer _______________________________________________ ULC-developer mailing list [email protected] http://lists.canoo.com/mailman/listinfo/ulc-developer
