You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Luiz Gustavo Stábile de Souza (JIRA)" <ji...@apache.org> on 2011/01/13 11:44:46 UTC

[jira] Updated: (PIVOT-694) Improvement in ListButton clear() method

     [ https://issues.apache.org/jira/browse/PIVOT-694?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Luiz Gustavo Stábile de Souza updated PIVOT-694:
------------------------------------------------

    Attachment: listButton problem.png

This image shows the state of the ListButton before and after the listData#getListData().clear() method call.

> Improvement in ListButton clear() method
> ----------------------------------------
>
>                 Key: PIVOT-694
>                 URL: https://issues.apache.org/jira/browse/PIVOT-694
>             Project: Pivot
>          Issue Type: Improvement
>          Components: wtk
>    Affects Versions: 2.0
>         Environment: Pivot 2.0
> Win 7
>            Reporter: Luiz Gustavo Stábile de Souza
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: listButton problem.png
>
>
> I'm having problems with ListButton.
> When I try to clean a ListButton the last text selected before remains selected, even with no item in the ListData of the ListButton.
> I tried listButton.clear() and listButton.getListData().clear(), but with none of this I can scape the problem.
> I debugged the application, and the listData of the ListButton is clear after getListData().clear(), but the last selected text remains showing.
> See attached image.
> Perhaps listButton.setButtonData(null)  should be performed in ListButton#clear().
> Cheers

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.