|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.tmaj.client.tables.DoubleTabbedPane
public final class DoubleTabbedPane
A TabbedPane that can have sub-tabs for each tab. This object is esentially a TabbedPane of TabbedPanes. This class only supports two levels, a main-tab (at the top), and sub-tabs that appear for each main-tab at the bottom. Thus the main TabbedPane will contain sub-TabbedPanes, and the sub-TabbedPanes will contain Components. All Components added to a DoubleTabbedPane are given an indexName. Any Component can be retrieved with the method getComponent(String indexName).
| Constructor Summary | |
|---|---|
DoubleTabbedPane(java.util.List<TabGroup> tabGroupList)
Constructs this object. |
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getAllIndices()
|
java.awt.Component |
getComponent(java.lang.String indexName)
Returns the Component which will be found in the one the Sub-TabbedPanes. |
javax.swing.JTabbedPane |
getTabbedPane()
Returns the JTabbedPane this object has created. |
TabGroup |
getTabGroup(int index)
Returns the TabGroup giving the main-index number. |
void |
setIndex(java.lang.String indexName)
Sets the selected pane for this DoubleTabbedPane. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DoubleTabbedPane(java.util.List<TabGroup> tabGroupList)
tabGroupList - each TabGroup in this list represents one main-tab. There may be several sub-tabs
in each group.| Method Detail |
|---|
public java.util.List<java.lang.String> getAllIndices()
public javax.swing.JTabbedPane getTabbedPane()
public void setIndex(java.lang.String indexName)
public TabGroup getTabGroup(int index)
public java.awt.Component getComponent(java.lang.String indexName)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||