cds.gui
Class TabList

java.lang.Object
  extended byjava.util.AbstractMap
      extended byjava.util.HashMap
          extended bycds.gui.TabList
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

class TabList
extends java.util.HashMap

class defining the list of tabs in a TabbedPane. This object maps two view of the tabbed pane:

Version:
1.0 July 2003
Author:
Marc Wenger/CDS

Nested Class Summary
 
Nested classes inherited from class java.util.HashMap
 
Nested classes inherited from class java.util.AbstractMap
 
Field Summary
private  CTabbedPane tabbedPane
           
 
Fields inherited from class java.util.HashMap
 
Fields inherited from class java.util.AbstractMap
 
Constructor Summary
protected TabList(CTabbedPane tp)
          Constructor.
 
Method Summary
protected  void addNew(Tab t)
          Add a new tab in the list
protected  void recalcPositions()
          Compute the physical positions of all the tabs which are in the tabbedPane
 java.lang.String toString()
          Display the TabList info in a string, for debugging purposes
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Field Detail

tabbedPane

private CTabbedPane tabbedPane
Constructor Detail

TabList

protected TabList(CTabbedPane tp)
Constructor.

Parameters:
tp - the CTabbedPane object in which the tab is included
Method Detail

recalcPositions

protected void recalcPositions()
Compute the physical positions of all the tabs which are in the tabbedPane


addNew

protected void addNew(Tab t)
Add a new tab in the list

Parameters:
t - Tab object to add.

toString

public java.lang.String toString()
Display the TabList info in a string, for debugging purposes

Returns:
a string containing the edited info