fhm.edu.fem.calc.objects
Class CTabList

java.lang.Object
  extended by fhm.edu.fem.calc.objects.CTabList

public class CTabList
extends java.lang.Object

Class Description: This class acts as ctab list. It takes the ctab index from the ctab itself

Author:
Thomas Woellert (thomas@woellert.net), Stefan Weissbach (weissbst@gmx.de)

Field Summary
protected  java.util.ArrayList<CTab> ctabs
           
protected static Logger localLogger
           
 
Constructor Summary
CTabList()
          Create a new ctab list
 
Method Summary
 void clear()
          Clear the list
 java.lang.Object clone()
          Clone Implementation
 CTab getCTab(int ctabIndex)
          Retrieve a ctab with the given index from the list
 void setCTab(CTab ctab)
          Set a new ctab in the list.
 int size()
          Retrieve the number of ctabs in the list
 java.lang.Object[] toArray()
          Convert this list to an array of ctab
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ctabs

protected java.util.ArrayList<CTab> ctabs

localLogger

protected static Logger localLogger
Constructor Detail

CTabList

public CTabList()
Create a new ctab list

Method Detail

clear

public void clear()
Clear the list


clone

public java.lang.Object clone()
Clone Implementation

Overrides:
clone in class java.lang.Object
Returns:
a clone of this list

getCTab

public CTab getCTab(int ctabIndex)
Retrieve a ctab with the given index from the list

Parameters:
ctabIndex -
Returns:
the found ctab

setCTab

public void setCTab(CTab ctab)
Set a new ctab in the list. It will be set at the index specified in the ctab

Parameters:
ctab, - the ctab to set

size

public int size()
Retrieve the number of ctabs in the list

Returns:
the number of ctabs

toArray

public java.lang.Object[] toArray()
Convert this list to an array of ctab

Returns:
the ctab array