org.olat.repository
Class RepositoryTableModel
java.lang.Object
org.olat.core.gui.components.table.DefaultTableDataModel
org.olat.repository.RepositoryTableModel
- All Implemented Interfaces:
- TableDataModel
public class RepositoryTableModel
- extends DefaultTableDataModel
- implements TableDataModel
Initial Date: Mar 31, 2004
- Author:
- Mike Stock
Comment:
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TABLE_ACTION_SELECT_LINK
public static final java.lang.String TABLE_ACTION_SELECT_LINK
- Identifies a table selection event (outer-left column)
- See Also:
- Constant Field Values
TABLE_ACTION_SELECT_ENTRY
public static final java.lang.String TABLE_ACTION_SELECT_ENTRY
- Identifies a table launch event (if clicked on an item in the name column).
- See Also:
- Constant Field Values
RepositoryTableModel
public RepositoryTableModel(Translator translator)
- Default constructor.
- Parameters:
translator -
addColumnDescriptors
public void addColumnDescriptors(TableController tableCtr,
java.lang.String selectButtonLabel,
boolean enableDirectLaunch)
- Parameters:
tableCtr - selectButtonLabel - Label of action row or null if no action row should be usedenableDirectLaunch -
setEntries
public void setEntries(java.util.List<RepositoryEntry> entries)
- Set entries to be represented by this table model.
- Parameters:
entries -
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)
createCopyWithEmptyList
public java.lang.Object createCopyWithEmptyList()
- Specified by:
createCopyWithEmptyList in interface TableDataModel- Overrides:
createCopyWithEmptyList in class DefaultTableDataModel