org.olat.group.ui.edit
Class AreasToGroupDataModel
java.lang.Object
org.olat.core.gui.components.table.DefaultTableDataModel
org.olat.group.ui.edit.AreasToGroupDataModel
- All Implemented Interfaces:
- TableDataModel
public class AreasToGroupDataModel
- extends DefaultTableDataModel
Description:
Initial Date: Aug 30, 2004
- Author:
- gnaegi
|
Constructor Summary |
AreasToGroupDataModel(java.util.List allAreas,
java.util.List selectedAreas)
Constructor for the AreasToGroupDataModel |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AreasToGroupDataModel
public AreasToGroupDataModel(java.util.List allAreas,
java.util.List selectedAreas)
- Constructor for the AreasToGroupDataModel
- Parameters:
allAreas - List of all available areasselectedAreas - List of all areas which are associated to the group -
meaning where the checkbox will be checked
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount in interface TableDataModel- Specified by:
getColumnCount in class DefaultTableDataModel
- Returns:
- See Also:
TableDataModel.getColumnCount()
getValueAt
public java.lang.Object getValueAt(int row,
int col)
- Specified by:
getValueAt in interface TableDataModel- Specified by:
getValueAt in class DefaultTableDataModel
- Returns:
- See Also:
TableDataModel.getValueAt(int, int)
getArea
public BGArea getArea(int row)
- Parameters:
row -
- Returns:
- the area at the given row