Package org.teamapps.ux.component.table
Class ListTableModel<RECORD>
java.lang.Object
org.teamapps.ux.component.table.AbstractTableModel<RECORD>
org.teamapps.ux.component.table.ListTableModel<RECORD>
- All Implemented Interfaces:
TableModel<RECORD>
public class ListTableModel<RECORD> extends AbstractTableModel<RECORD>
-
Field Summary
Fields inherited from class org.teamapps.ux.component.table.AbstractTableModel
onAllDataChanged, onRecordAdded, onRecordDeleted, onRecordUpdated -
Constructor Summary
Constructors Constructor Description ListTableModel()ListTableModel(java.util.List<RECORD> list) -
Method Summary
Modifier and Type Method Description voidaddRecord(RECORD record)voidaddRecords(java.util.List<RECORD> records)java.util.List<RECORD>getAllRecords()java.util.List<RECORD>getChildRecords(RECORD parentRecord, Sorting sorting)intgetCount()java.util.function.Predicate<RECORD>getFilter()java.util.List<RECORD>getList()java.util.List<RECORD>getRecords(int startIndex, int length, Sorting sorting)voidsetFilter(java.util.function.Predicate<RECORD> filter)voidsetList(java.util.List<RECORD> list)Methods inherited from class org.teamapps.ux.component.table.AbstractTableModel
onAllDataChanged, onRecordAdded, onRecordDeleted, onRecordUpdatedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ListTableModel
public ListTableModel() -
ListTableModel
-
-
Method Details
-
setList
-
getList
-
addRecord
-
addRecords
-
getCount
public int getCount() -
getRecords
-
getAllRecords
-
getChildRecords
-
getFilter
-
setFilter
-