Re: Subclassing behavior in JavaFX Controls

2014-09-25 Thread Tomas Mikula
Hi Pete, On Wed, Sep 17, 2014 at 9:57 PM, Tomas Mikula wrote: > > I believe that overriding keyboard shortcuts should be doable without > subclassing the skin (or behavior). I'm working on something right now > and hope to publish something soon. have a look at https://github.com/TomasMikula/Wel

Re: Subclassing behavior in JavaFX Controls

2014-09-17 Thread Tomas Mikula
Hi Pete, On Wed, Sep 17, 2014 at 9:35 PM, Pete Moss wrote: > Tomas, > > Thanks for the fast reply. > > I read your blog post that you referenced and I agree with you 100%. I am a > crusty MVC person and I agree, that having the Skin class (View) hold a > reference to the Behavior class (Controlle

Re: Subclassing behavior in JavaFX Controls

2014-09-17 Thread Pete Moss
Tomas, Thanks for the fast reply. I read your blog post that you referenced and I agree with you 100%. I am a crusty MVC person and I agree, that having the Skin class (View) hold a reference to the Behavior class (Controller) rubs me the wrong way from an MVC perspective. I was looking at the J

Re: Subclassing behavior in JavaFX Controls

2014-09-17 Thread Tomas Mikula
Hi Pete, work on this is tracked in https://javafx-jira.kenai.com/browse/RT-21598 In terms of the current API, I think the best solution is to add event handlers and/or event filters on the TableView. Regarding your proposed fixes, I have a blog post where I argue that the wiring between the Beh