logo       

RE: Double Click in an ULCTextField: msg#00170

java.ulc.devel

Subject: RE: Double Click in an ULCTextField

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: ulc-developer-admin@xxxxxxxxxxxxxxx [mailto:ulc-developer-
> admin@xxxxxxxxxxxxxxx] On Behalf Of harrisonpf@xxxxxxxxxxxx
> Sent: Wednesday, July 26, 2006 1:31 AM
> To: ulc-developer@xxxxxxxxxxxxxxx
> 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: ulc-developer-admin@xxxxxxxxxxxxxxx [mailto:ulc-developer-
> > > admin@xxxxxxxxxxxxxxx] On Behalf Of harrisonpf@xxxxxxxxxxxx
> > > Sent: Wednesday, July 19, 2006 7:52 AM
> > > To: ulc-developer@xxxxxxxxxxxxxxx
> > > 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
> > > ULC-developer@xxxxxxxxxxxxxxx
> > > 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
> ULC-developer@xxxxxxxxxxxxxxx
> http://lists.canoo.com/mailman/listinfo/ulc-developer


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise