|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.jhu.tmaj.client.tables.TabChangeListener
final class TabChangeListener
Added to a Sub-TabbedPane, this change listener changes the main-TabbedPane's title as indexes on the sub-tabbedPane are selected.
| Constructor Summary | |
|---|---|
TabChangeListener(javax.swing.JTabbedPane tabbedPane,
javax.swing.JTabbedPane subTabbedPane,
int mainIndex)
Constructs this object. |
|
| Method Summary | |
|---|---|
void |
stateChanged(javax.swing.event.ChangeEvent e)
Called when one of the user click one of the tabs of the sub-tabbedPanes, this will change the title of the main-tabbedPane. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TabChangeListener(javax.swing.JTabbedPane tabbedPane,
javax.swing.JTabbedPane subTabbedPane,
int mainIndex)
tabbedPane - the main-tabbedPanesubTabbedPane - one of the sub-tabbedPanes from the main-TabbedPanemainIndex - the index on the main-tabbedPane on which the sub-tabbedPane appears| Method Detail |
|---|
public void stateChanged(javax.swing.event.ChangeEvent e)
stateChanged in interface javax.swing.event.ChangeListener
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||