Description
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.