rero.gui.toolkit

Class GeneralListModel

public abstract class GeneralListModel extends AbstractTableModel implements SortTableModel

A model for the sortable list window thingy...
Method Summary
abstract intgetColumnCount()
abstract StringgetColumnName(int col)
abstract intgetColumnWidth(int col)
abstract HashMapgetEventHashMap(int row)
abstract intgetRowCount()
abstract ObjectgetValueAt(int row, int col)
make sure this method always returns an AttributedString
booleanisSortable(int col)
abstract voidsortColumn(int col, boolean ascending)

Method Detail

getColumnCount

public abstract int getColumnCount()

getColumnName

public abstract String getColumnName(int col)

getColumnWidth

public abstract int getColumnWidth(int col)

getEventHashMap

public abstract HashMap getEventHashMap(int row)

getRowCount

public abstract int getRowCount()

getValueAt

public abstract Object getValueAt(int row, int col)
make sure this method always returns an AttributedString

isSortable

public boolean isSortable(int col)

sortColumn

public abstract void sortColumn(int col, boolean ascending)