edu.jhu.tmaj.client.tables
Class TabGroup
java.lang.Object
edu.jhu.tmaj.client.tables.TabGroup
public final class TabGroup
- extends java.lang.Object
Represents a main-tab on a DoubleTabbedPane. MainTabs have one or more sub-tabs.
Constructor Summary |
TabGroup(java.lang.String groupName,
java.awt.Component component)
Constructs a TabGroup that only has one component |
TabGroup(java.lang.String groupName,
java.util.List<Tab> tabList)
Constructs a TabGroup that has one or more components. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TabGroup
public TabGroup(java.lang.String groupName,
java.util.List<Tab> tabList)
- Constructs a TabGroup that has one or more components.
- Parameters:
groupName
- the collective name of all the components. For example, if the sub components
were 'employees' and 'contractors', the group name might be called 'people'.tabList
- A List where each tab represents a sub-tab.
TabGroup
public TabGroup(java.lang.String groupName,
java.awt.Component component)
- Constructs a TabGroup that only has one component
- Parameters:
groupName
- represents the name of the index and sub-indexcomponent
- the component the tab will display
getGroupName
public java.lang.String getGroupName()
getTabbedPane
public javax.swing.JTabbedPane getTabbedPane()
getComponent
public java.awt.Component getComponent()
getComponent
public java.awt.Component getComponent(java.lang.String indexName)
getTabList
public java.util.List<Tab> getTabList()
setDisplayedIndex
public void setDisplayedIndex(java.lang.String indexName)
getIndexNameSet
public java.util.Set<java.lang.String> getIndexNameSet()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object