getCursorLocation() [message #123522] |
Mon, 02 March 2009 10:17  |
Eclipse User |
|
|
|
Originally posted by: michael.suwiryo.siemens.com
Hello,
RAP currently doesn't support getCursorLocation() API in Display class. I
was wondering if there is an alternative solution to provide the same
functionality in RAP.
Thanks for any pointer.
Regards,
Michael Suwiryo
|
|
|
|
|
Re: getCursorLocation() [message #129514 is a reply to message #129402] |
Wed, 22 April 2009 14:10  |
Eclipse User |
|
|
|
Enrico,
there is currently no way to retrieve this information in RAP.
Neither official nor internal. But you could write a custom widget
or a phase listener that tracks the client-side mouse position and
adds it to the pending request.
Cheers,
Rüdiger
Enrico Zanaga wrote:
> Hi,
>
> is there a method to retrieve the last mouse location of the most recent
> event fired by the browser?
> Also with internal RWT functions and classes...
>
> Thanks,
> Enrico
>
>
> Rüdiger Herrmann ha scritto:
>> Michael,
>>
>> in some cases selection events also send x/y coordinates that can be
>> used instead of getCursorLocation().
>> What would be your use case?
>>
>> Cheers,
>> Rüdiger
>>
>> Michael Suwiryo wrote:
>>> Hello,
>>>
>>> RAP currently doesn't support getCursorLocation() API in Display
>>> class. I was wondering if there is an alternative solution to provide
>>> the same functionality in RAP.
>>>
>>> Thanks for any pointer.
>>>
>>> Regards,
>>> Michael Suwiryo
>>>
|
|
|
Powered by
FUDForum. Page generated in 0.20277 seconds