Re: Keyboard events

2013-10-10 Thread Artem Ananiev
On 10/10/2013 3:11 AM, Pedro Duque Vieira wrote: Done. https://javafx-jira.kenai.com/browse/RT-33458 Thank you! Artem Thanks, best regards, On Wed, Oct 9, 2013 at 12:11 PM, Artem Ananiev mailto:artem.anan...@oracle.com>> wrote: On 10/9/2013 4:19 AM, Pedro Duque Vieira wrote:

Re: Keyboard events

2013-10-09 Thread Pedro Duque Vieira
Done. https://javafx-jira.kenai.com/browse/RT-33458 Thanks, best regards, On Wed, Oct 9, 2013 at 12:11 PM, Artem Ananiev wrote: > > On 10/9/2013 4:19 AM, Pedro Duque Vieira wrote: > >> Do you want me to file a Jira issue for this? >> > > Yes, please. > > I haven't found such a feature request

Re: Keyboard events

2013-10-09 Thread Artem Ananiev
On 10/9/2013 4:19 AM, Pedro Duque Vieira wrote: Do you want me to file a Jira issue for this? Yes, please. I haven't found such a feature request in JavaFX JIRA. The only issue which is slightly related is https://javafx-jira.kenai.com/browse/RT-32302 but it's not exactly about querying f

Re: Keyboard events

2013-10-08 Thread Pedro Duque Vieira
Do you want me to file a Jira issue for this? Regards, On Mon, Oct 7, 2013 at 6:03 PM, Artem Ananiev wrote: > > On 10/7/2013 6:53 PM, Richard Bair wrote: > >> That being said, this seems like a very common use case, and I wonder if >> there is something more we could do (in the longer term, sho

Re: Keyboard events

2013-10-07 Thread Artem Ananiev
On 10/7/2013 6:53 PM, Richard Bair wrote: That being said, this seems like a very common use case, and I wonder if there is something more we could do (in the longer term, short term do as Artem suggests) One of the options is to provide API to query for keyboard state at any arbitrary mome

Re: Keyboard events

2013-10-07 Thread Artem Ananiev
On 10/7/2013 6:57 PM, Pedro Duque Vieira wrote: Hi Artem, Richard, Thanks for your feedback! There's one more thing which further complicates things and that I've forgot to mention. The chart is embedded in a swing app, so doing as Artem suggests will not work: the scene will have to be focused

Re: Keyboard events

2013-10-07 Thread Richard Bair
That being said, this seems like a very common use case, and I wonder if there is something more we could do (in the longer term, short term do as Artem suggests) > On Oct 7, 2013, at 3:56 AM, Artem Ananiev wrote: > > >> On 10/7/2013 2:40 AM, Pedro Duque Vieira wrote: >> Hi, >> >> I have the

Re: Keyboard events

2013-10-07 Thread Pedro Duque Vieira
Hi Artem, Richard, Thanks for your feedback! There's one more thing which further complicates things and that I've forgot to mention. The chart is embedded in a swing app, so doing as Artem suggests will not work: the scene will have to be focused in order for it to receive keyboard events, right?

Re: Keyboard events

2013-10-07 Thread Artem Ananiev
On 10/7/2013 2:40 AM, Pedro Duque Vieira wrote: Hi, I have the following use case: When the user presses shift and the mouse is hover the chart component the cursor must change to an open hand cursor signaling to the user that the chart is ready for a panning action. The problem is that for thi

Re: Keyboard events

2013-10-06 Thread Tom Eugelink
If I remember correctly, in Swing I solved something similar by setting a generic keyboard listener to the frame and then determine on shift-press what component the mouse was over using the coordinates. Maybe that works here as well. Tom On 2013-10-07 00:40, Pedro Duque Vieira wrote: Hi,