org.olat.catalog.ui
Class CategoriesListModel
java.lang.Object
org.olat.core.gui.components.table.DefaultTableDataModel
org.olat.catalog.ui.CategoriesListModel
- All Implemented Interfaces:
- TableDataModel
public class CategoriesListModel
- extends DefaultTableDataModel
Description:
TODO: gnaegi Class Description for CategoriesListModel
Initial Date: 30.05.2008
- Author:
- gnaegi
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ACTION_GOTO
public static final java.lang.String ACTION_GOTO
- See Also:
- Constant Field Values
ACTION_DELETE
public static final java.lang.String ACTION_DELETE
- See Also:
- Constant Field Values
CategoriesListModel
public CategoriesListModel(java.util.List<CatalogEntry> catalogEntries,
java.util.Locale locale)
- Constructor
- Parameters:
catalogEntries - locale -
addColumnDescriptors
public void addColumnDescriptors(TableController tableCtr,
boolean showRemoveAction,
Translator trans)
- Add the column descriptors for this table
- Parameters:
tableCtr - showRemoveAction - true: remove link will be showed; false: remove
link is not showedtrans - Translator for translating the delete action
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount in interface TableDataModel- Specified by:
getColumnCount in class DefaultTableDataModel
- Returns:
- See Also:
DefaultTableDataModel.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:
DefaultTableDataModel.getValueAt(int,
int)
getCatalogEntry
public CatalogEntry getCatalogEntry(int row)
- Returns the catalog entry at the given row
- Parameters:
row -
- Returns: