org.springframework.richclient.dialog.control
Class ExtTabbedPane
java.lang.Object
org.springframework.richclient.dialog.control.ExtTabbedPane
- All Implemented Interfaces:
- ControlFactory
public class ExtTabbedPane
- extends Object
- implements ControlFactory
Wrapper around JTabbedPane
. When a Tab
is made invisible, the tab is hidden from the
ui, and vice versa.
TODO: move this to another package?
- Author:
- Peter De Bruycker
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExtTabbedPane
public ExtTabbedPane(JTabbedPane tabbedPane)
ExtTabbedPane
public ExtTabbedPane()
addChangeListener
public void addChangeListener(ChangeListener listener)
removeChangeListener
public void removeChangeListener(ChangeListener listener)
getControl
public JComponent getControl()
- Description copied from interface:
ControlFactory
- Returns the control that this factory is responsible for producing.
Depending on the implementation, this control may or not be a singleton
instance.
- Specified by:
getControl
in interface ControlFactory
- Returns:
- The control, never
null
.
addTab
public void addTab(Tab tab)
getTab
public Tab getTab(int index)
removeTab
public void removeTab(Tab tab)
addTab
public void addTab(int index,
Tab tab)
removeTab
public void removeTab(int index)
selectTab
public void selectTab(Tab tab)
convertUIIndexToModelIndex
public int convertUIIndexToModelIndex(int index)
getUIIndex
public int getUIIndex(Tab tab)
convertModelIndexToUIIndex
public int convertModelIndexToUIIndex(int index)
Copyright © 2004-2008 The Spring Framework. All Rights Reserved.