search for: clickfocus

Displaying 2 results from an estimated 2 matches for "clickfocus".

2008 Jun 01
1
transforming output of grid.locator() to coordinates of a leaf viewport
...ort the user clicked in and compute the native coordinates in that leaf viewport of the user's click. I saw a 2005 response by Paul Murrell to a post by Gabor Grothendieck roughly on this topic in which Paul suggested looking at trellis.focus(). I've looked at trellis.focus() and trellis.clickFocus(), but they don't appear to do what I want in that a) it would appear that my user would have to click twice, once to specify which leaf viewport and then again to specify which point in that viewport and b) trellis.clickFocus() appears to use lots of information from the trellis package, which...
2008 Oct 23
1
Getting the panel location of a xyplot matrix using a mouse click in a GDCanvas
...ing Java because: - I am proficient in Java GUI programmer - It is multiplatform Another way of posing the question is: Given the coordinates from grid.location how can I find out the plane of an xyplot matrix where the user clicked. I have tried to figure out how to do it from code using trellis.clickFocus, but I have have only been playing with R for a week, so I am quite lost reading R code. I tried to look up to in the code of JGR and came out emplty handed. This is my first post so I hope I did not break any rules ... Thanks ! Daniel [[alternative HTML version deleted]]