pivot-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Bartlett (JIRA)" <j...@apache.org>
Subject [jira] Created: (PIVOT-615) Add 'collapsible' utility methods and a closeTab method to TabPane
Date Thu, 26 Aug 2010 17:19:55 GMT
Add 'collapsible' utility methods and a closeTab method to TabPane
------------------------------------------------------------------

                 Key: PIVOT-615
                 URL: https://issues.apache.org/jira/browse/PIVOT-615
             Project: Pivot
          Issue Type: Improvement
          Components: tutorials, wtk
         Environment: n/a
            Reporter: Chris Bartlett
            Priority: Minor
             Fix For: 2.0


Add  user friendly methods for handling the collapsed state of the TabPane
tabPane.setCollapsed(boolean collapsed)
tabPane.isCollapsed()

These will wrap the following lines respectively
tabPane.setSelectedIndex(-1 / 0..n)
((tabPane.getSelectedIndex() == -1) && tabPane.isCollapsible())


Add a closeTab(int) method to TabPane which will replicate the logic in the TabPaneListener
in /tutorials/src/org/apache/pivot/tutorials/navigation/TabPanes.java
Update TabPanes.java to use the new method.

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


Mime
View raw message