Re: [sc-dev] Rubber/Pencil function for Calc

2007-06-20 Thread Niklas Nebel

Max Giesbert wrote:

Thanks for pointing to XEnhancedMouseClickBroadcaster . I register a
XEnhancedMouseClickHandler to it. But I only have an EnhancedMouseEvent
in the mousePressed method. How can i find out the cell clicked with
that? I didn't find any suiting methods.


It's in the Target member of the EnhancedMouseEvent.

Niklas

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: [sc-dev] Rubber/Pencil function for Calc

2007-06-20 Thread Max Giesbert
Thx again. feels like i am already there. i got the XCell now from the
Target but how can i get the location of the cell on the screen. i read
about XAccessibleComponent but XCell doesn't seem to implement it...

Niklas Nebel wrote:
 Max Giesbert wrote:
 Thanks for pointing to XEnhancedMouseClickBroadcaster . I register a
 XEnhancedMouseClickHandler to it. But I only have an EnhancedMouseEvent
 in the mousePressed method. How can i find out the cell clicked with
 that? I didn't find any suiting methods.
 
 It's in the Target member of the EnhancedMouseEvent.
 
 Niklas
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

-- 
Max Giesbert - exactt technology

Schießstättstr. 16  T: +49 17 75 07 53 44
D-80339 München F: +49 89 1 22 21 97 02

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]