Re: Event Filtering

2015-02-09 Thread Werner Lehmann
I see. Looks as if the textfield in a combobox cannot be subclassed because of "final" restrictions. As a last resort, you could use your own textfield as a buttoncell - which would of course skip over all special handling for editable comboboxes in the skin... Werner On 09.02.2015 12:44, Sco

Re: Event Filtering

2015-02-09 Thread Scott Palmer
When the actual control is an editable combobox it gets more complicated. That is the case that prompted my original message. Scott > On Feb 9, 2015, at 4:47 AM, Werner Lehmann > wrote: > > Hi Scott, > > at least in Java 8 you can override TextInputControl#replaceText and/or > TextInputCont

Re: Event Filtering

2015-02-09 Thread Werner Lehmann
Hi Scott, at least in Java 8 you can override TextInputControl#replaceText and/or TextInputControl#replaceSelection to convert lowercase into uppercase. I have used it for exactly this purpose. Werner On 07.02.2015 01:33, Scott Palmer wrote: But let's say that I want to allow the user to ty

Re: Event Filtering

2015-02-07 Thread Scott Palmer
> On Feb 7, 2015, at 11:36 AM, Tomas Mikula wrote: > >> On Fri, Feb 6, 2015 at 8:45 PM, Scott Palmer wrote: >> On Feb 6, 2015, at 8:21 PM, Tomas Mikula wrote: On Fri, Feb 6, 2015 at 7:33 PM, Scott Palmer wrote: Is it possible to modify the event in an event filter or oth

Re: Event Filtering

2015-02-07 Thread Tomas Mikula
On Fri, Feb 6, 2015 at 8:45 PM, Scott Palmer wrote: > >> On Feb 6, 2015, at 8:21 PM, Tomas Mikula wrote: >> >>> On Fri, Feb 6, 2015 at 7:33 PM, Scott Palmer wrote: >>> Is it possible to modify the event in an event filter or otherwise tweak >>> the event that is ultimately received by the target

Re: Event Filtering

2015-02-06 Thread Scott Palmer
> On Feb 6, 2015, at 8:21 PM, Tomas Mikula wrote: > >> On Fri, Feb 6, 2015 at 7:33 PM, Scott Palmer wrote: >> Is it possible to modify the event in an event filter or otherwise tweak >> the event that is ultimately received by the target? >> >> >> >> There are no public constructors for Ke

Re: Event Filtering

2015-02-06 Thread Tomas Mikula
On Fri, Feb 6, 2015 at 7:33 PM, Scott Palmer wrote: > Is it possible to modify the event in an event filter or otherwise tweak > the event that is ultimately received by the target? > > Let's say I have a TextField and I only want to allow typing of capital > letters. That is easy enough to enfor