[ https://issues.apache.org/jira/browse/PIVOT-971?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14581212#comment-14581212 ]
Roger Whitcomb commented on PIVOT-971: -------------------------------------- Committed changes in "trunk": Adding core\src\org\apache\pivot\util\Utils.java Sending demos\src\org\apache\pivot\demos\rss\RSSItemRenderer.java Sending demos\src\org\apache\pivot\demos\text\TextPaneDemo.java Sending tests\src\org\apache\pivot\tests\DataBindingTest.java Sending tutorials\src\org\apache\pivot\tutorials\webqueries\ResultItemRenderer.java Sending wtk\src\org\apache\pivot\wtk\ListView.java Sending wtk\src\org\apache\pivot\wtk\ListViewBindingListener.java Sending wtk\src\org\apache\pivot\wtk\ListViewItemStateListener.java Sending wtk\src\org\apache\pivot\wtk\ListViewListener.java Sending wtk\src\org\apache\pivot\wtk\content\ListViewColorItemRenderer.java Sending wtk\src\org\apache\pivot\wtk\content\ListViewItemEditor.java Sending wtk\src\org\apache\pivot\wtk\content\ListViewItemRenderer.java Sending wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraFileBrowserSkin.java Sending wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraListViewSkin.java Sending wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraVFSBrowserSkin.java Transmitting file data ............... Committed revision 1684795. > Add the ability to have tri-state checkboxes in ListView > -------------------------------------------------------- > > Key: PIVOT-971 > URL: https://issues.apache.org/jira/browse/PIVOT-971 > Project: Pivot > Issue Type: New Feature > Components: wtk, wtk-terra > Affects Versions: 2.0.4 > Environment: All > Reporter: Roger Whitcomb > Assignee: Roger Whitcomb > Priority: Minor > Labels: listview > Fix For: 2.1 > > Attachments: listview.diffs, tri-state listview.png > > > For one place in our application, a ListView is used along with checkboxes, > but it seems like it would be good to be able to use tri-state checkboxes > here, such that a mixed state could be indicated for some entries. But, then > the question becomes: if the checkbox is mixed, is it checked or not? Two > thoughts on that: > 1. Add a method to get the checkbox state for all items, so you can check > yourself if they are checked, unchecked or mixed. > 2. Add a property "mixedAreChecked", which if set true (default false) would > make the mixed state entries show up as checked. > Also, how do you set the "mixed" state for an item? Not sure about that yet. > Altogether: lots of implications throughout the code to support this feature. -- This message was sent by Atlassian JIRA (v6.3.4#6332)