public class ABOTableModel<C extends ClientContext,T extends AliveBusinessObject> extends ClientTableModel<C,T>
Constructor and Description |
---|
ABOTableModel(C clientCtx) |
Modifier and Type | Method and Description |
---|---|
int |
addABO(T abo) |
void |
addObject(int index,
T obj) |
int |
addObject(T obj)
Adds an object into the TableModel whereas the current Comparator
defines where it is added.
|
void |
clear()
Clears the content
|
AliveBusinessObject |
findByPrimaryKey(PrimaryKey pk) |
AliveBusinessObject |
getABO(int index) |
boolean |
isNewABOAccepted(T abo) |
boolean |
isNewABOAutoInserted() |
void |
removeABO(T abo) |
T |
removeObject(int index) |
int |
removeObject(T obj) |
void |
setObject(int index,
T obj)
Places the given Object at the specified index into the TableModel.
|
getClientContext
getApplicationContext
addColumn, addColumn, addColumn, addColumn, addDataLoadListener, addObjects, addObjects, addOrderChangeListener, addRowData, addRowData, clearRowData, containsObject, dropRow, dropRow, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, getAllObjects, getColumnCount, getColumnName, getComparator, getObject, getRowCount, getValueAt, getValueAt, indexOf, isEmpty, isNumb, isSortAscending, load, removeColumn, removeDataLoadListener, removeOrderChangeListener, removeRowData, replaceObject, setComparator, setNumb, setSortAscending, setValueAt
public ABOTableModel(C clientCtx)
public AliveBusinessObject getABO(int index)
public int addABO(T abo)
public void removeABO(T abo)
public boolean isNewABOAccepted(T abo)
public boolean isNewABOAutoInserted()
public AliveBusinessObject findByPrimaryKey(PrimaryKey pk)
public void clear()
Clearable
clear
in interface Clearable
clear
in class AbstractObjectTableModel<T extends AliveBusinessObject>
public int removeObject(T obj)
removeObject
in class AbstractObjectTableModel<T extends AliveBusinessObject>
public T removeObject(int index)
removeObject
in class AbstractObjectTableModel<T extends AliveBusinessObject>
public void setObject(int index, T obj)
AbstractObjectTableModel
setObject
in class AbstractObjectTableModel<T extends AliveBusinessObject>
public int addObject(T obj)
AbstractObjectTableModel
addObject
in class AbstractObjectTableModel<T extends AliveBusinessObject>
public void addObject(int index, T obj)
addObject
in class AbstractObjectTableModel<T extends AliveBusinessObject>
Copyright © 2014 EsprIT-Systems. All Rights Reserved.