org.olat.modules.dialog
Class DialogElementsTableModel

java.lang.Object
  extended by org.olat.core.gui.components.table.BaseTableDataModelWithoutFilter
      extended by org.olat.modules.dialog.DialogElementsTableModel
All Implemented Interfaces:
TableDataModel

public class DialogElementsTableModel
extends BaseTableDataModelWithoutFilter
implements TableDataModel

Description:
Table model for run mode of course node "file dialog"

Initial Date: 08.11.2005

Author:
guido

Constructor Summary
DialogElementsTableModel(Translator translator, DialogNodeForumCallback callback, ModuleConfiguration config)
           
 
Method Summary
 void addColumnDescriptors(TableController tableCtr)
           
 int getColumnCount()
           
 DialogElement getEntryAt(int num)
           
 int getRowCount()
           
 java.lang.Object getValueAt(int row, int col)
           
 void setEntries(java.util.List entries)
          Set entries to be represented by this table model.
 
Methods inherited from class org.olat.core.gui.components.table.BaseTableDataModelWithoutFilter
createCopyWithEmptyList, getObject, setObjects
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.olat.core.gui.components.table.TableDataModel
createCopyWithEmptyList, getObject, setObjects
 

Constructor Detail

DialogElementsTableModel

public DialogElementsTableModel(Translator translator,
                                DialogNodeForumCallback callback,
                                ModuleConfiguration config)
Parameters:
translator -
Method Detail

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface TableDataModel
Returns:
See Also:
TableDataModel.getColumnCount()

getRowCount

public int getRowCount()
Specified by:
getRowCount in interface TableDataModel
Returns:
See Also:
TableDataModel.getRowCount()

getEntryAt

public DialogElement getEntryAt(int num)
Parameters:
num -
Returns:

getValueAt

public java.lang.Object getValueAt(int row,
                                   int col)
Specified by:
getValueAt in interface TableDataModel
Returns:
See Also:
TableDataModel.getValueAt(int, int)

addColumnDescriptors

public void addColumnDescriptors(TableController tableCtr)

setEntries

public void setEntries(java.util.List entries)
Set entries to be represented by this table model.

Parameters:
entries -