de.cau.cs.kieler.viewmanagement.view
Class TableData

java.lang.Object
  extended by de.cau.cs.kieler.viewmanagement.view.TableData

public class TableData
extends Object

The class TableData implements a single data entry that represents combination within the data table. A combination can be active or not and has a String that represents its name.

Rating red

Constructor Summary
TableData(TableDataList parentTableDataList, boolean comboActive, String comboName)
          Instantiates a new TableData entry.
 
Method Summary
 String getComboName()
          Gets the key of the entry.
 TableDataList getParentTableDataList()
          Gets the parent TableDataList.
 boolean isComboActive()
          Checks whether the combination is active
 void setComboActive(boolean active)
          Sets the active flag for the combination.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableData

public TableData(TableDataList parentTableDataList,
                 boolean comboActive,
                 String comboName)
Instantiates a new TableData entry.

Parameters:
parentTableDataList - the parent TableDataList
comboActive - combination is active or not
comboName - name of the combination
Method Detail

getParentTableDataList

public final TableDataList getParentTableDataList()
Gets the parent TableDataList.

Returns:
the parent TableDataList

getComboName

public final String getComboName()
Gets the key of the entry.

Returns:
the key

setComboActive

public void setComboActive(boolean active)
Sets the active flag for the combination.

Parameters:
active - active state of the combination

isComboActive

public final boolean isComboActive()
Checks whether the combination is active

Returns:
true, if combination is active