pivot-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcos Jordão <marcosjor...@gmail.com>
Subject Re: ListButton Lookup
Date Sat, 02 Jan 2010 21:32:42 GMT
Hi.

Ok. I start an implementation of a extended ListButton. If you can, see
attachment.
You know how I can implement an "FocusListener" to clear the
"autoCompleteText" on "lostFocus"?

Thanks.

*Marcos Antonio Campos Jordão''*

2010/1/2 Todd Volkert <tvolkert@gmail.com>

> Hi Marcos,
>
> No, the ListButton component doesn't automatically jump to a particular
> list item upon the user typing because the list data is of type
> List<Object>.  You can implement this manually by registering a
> ComponentKeyListener on the component and calling
> listButton.setSelectedIndex() based on what the user typed.
>
> However, you won't have the option of registering that listener on the list
> button's popup...  let me ask this of the developer list and see what they
> say about how we could address this in a future release.
>
> Cheers,
> -T
>
>
> On Sat, Jan 2, 2010 at 12:08 PM, Marcos Jordão <marcosjordao@gmail.com>wrote:
>
>> Boa tarde.
>>
>> The ListButton component haven't lookup on typing?
>> How to do it?
>>
>> Thanks.
>>
>> *Marcos Antonio Campos Jordão''*
>>
>
>

Mime
View raw message