org.olat.instantMessaging.ui
Class ConnectedUsersTableModel
java.lang.Object
org.olat.core.gui.components.table.BaseTableDataModelWithoutFilter
org.olat.instantMessaging.ui.ConnectedUsersTableModel
- All Implemented Interfaces:
- TableDataModel
public class ConnectedUsersTableModel
- extends BaseTableDataModelWithoutFilter
- implements TableDataModel
Description: Table model for the connected users list
- Author:
- guido
|
Field Summary |
static java.lang.String |
TABLE_ACTION_LAUNCH_CLIENT
Identifies a table launch event (if clicked on an item in the name, prename or username column). |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TABLE_ACTION_LAUNCH_CLIENT
public static final java.lang.String TABLE_ACTION_LAUNCH_CLIENT
- Identifies a table launch event (if clicked on an item in the name, prename or username column).
- See Also:
- Constant Field Values
ConnectedUsersTableModel
public ConnectedUsersTableModel(Translator translator,
boolean chatEnabled)
- Default constructor.
- Parameters:
translator -
addColumnDescriptors
public void addColumnDescriptors(TableController tableCtr)
- Parameters:
tableCtr - selectButtonLabel - Label of action row or null if no action row should be usedenableDirectLaunch -
setEntries
public void setEntries(java.util.List entries)
- Set entries to be represented by this table model.
- Parameters:
entries -
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()
getValueAt
public java.lang.Object getValueAt(int row,
int col)
- Specified by:
getValueAt in interface TableDataModel
- Returns:
- See Also:
TableDataModel.getValueAt(int, int)