net.sourceforge.hivegui.table
Class EmptyDataListModel<T>
java.lang.Object
net.sourceforge.hivegui.table.EmptyDataListModel<T>
- All Implemented Interfaces:
- DataListModel<T>
public final class EmptyDataListModel<T>
- extends java.lang.Object
- implements DataListModel<T>
- Author:
- Jean-Francois Poilpret
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_beanClass
protected final java.lang.Class<T> _beanClass
EmptyDataListModel
public EmptyDataListModel(java.lang.Class<T> beanClass)
setRows
public void setRows(T[] items)
- Specified by:
setRows
in interface DataListModel<T>
addRow
public void addRow(T item)
- Specified by:
addRow
in interface DataListModel<T>
addRow
public void addRow(int row,
T item)
- Specified by:
addRow
in interface DataListModel<T>
setRow
public void setRow(int row,
T item)
- Specified by:
setRow
in interface DataListModel<T>
removeRow
public void removeRow(T item)
- Specified by:
removeRow
in interface DataListModel<T>
removeRow
public void removeRow(int row)
- Specified by:
removeRow
in interface DataListModel<T>
clear
public void clear()
- Specified by:
clear
in interface DataListModel<T>
getRowClass
public java.lang.Class<T> getRowClass()
- Specified by:
getRowClass
in interface DataListModel<T>
getRowCount
public int getRowCount()
- Specified by:
getRowCount
in interface DataListModel<T>
getRow
public T getRow(int row)
- Specified by:
getRow
in interface DataListModel<T>
getRows
public T[] getRows()
- Specified by:
getRows
in interface DataListModel<T>
addDataListModelListener
public void addDataListModelListener(DataListModelListener listener)
- Specified by:
addDataListModelListener
in interface DataListModel<T>
removeDataListModelListener
public void removeDataListModelListener(DataListModelListener listener)
- Specified by:
removeDataListModelListener
in interface DataListModel<T>