org.olat.bookmark
Class BookmarkListMiniModel

java.lang.Object
  extended by org.olat.core.gui.components.table.DefaultTableDataModel
      extended by org.olat.bookmark.BookmarkListMiniModel
All Implemented Interfaces:
TableDataModel

public class BookmarkListMiniModel
extends DefaultTableDataModel
implements TableDataModel

Description:
TODO: gnaegi Class Description for BookmarkListMiniModel

Initial Date: 03.08.2005

Author:
gnaegi

Constructor Summary
BookmarkListMiniModel(java.util.List bookmarks, Translator trans)
           
 
Method Summary
 Bookmark getBookmarkAt(int row)
           
 int getColumnCount()
           
 java.lang.Object getValueAt(int row, int col)
           
 
Methods inherited from class org.olat.core.gui.components.table.DefaultTableDataModel
createCopyWithEmptyList, getObject, getObjects, getObjects, getRowCount, setLocale, 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, getRowCount, setObjects
 

Constructor Detail

BookmarkListMiniModel

public BookmarkListMiniModel(java.util.List bookmarks,
                             Translator trans)
Parameters:
list - of bookmarks
trans -
Method Detail

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)

getBookmarkAt

public Bookmark getBookmarkAt(int row)
Parameters:
row -
Returns:
the bookmark at the given row