Package org.openxava.tab.impl
Interface IXTableModel
-
- All Superinterfaces:
IObjectTableModel
,IRefreshTableModel
,javax.swing.table.TableModel
- All Known Implementing Classes:
HiddenXTableModel
,SelectedRowsXTableModel
,TableModelBean
,XTableModelDecoratorBase
public interface IXTableModel extends IObjectTableModel, IRefreshTableModel
Extended TableModel.Allows to obtain a object from a row, refresh and to know the result size.
Util for use inEntityTab
.- Author:
- Javier Paniza
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getChunkSize()
java.lang.Object
getObjectAt(int rowIndex)
Return the object associated to indicated row.java.lang.Number
getSum(java.lang.String property)
int
getTotalSize()
Total count of objects represented by this table model.boolean
isAllLoaded()
void
refresh()
Refresh data from datasource.void
removeAllRows()
void
removeRow(java.util.Map keyValues)
-
-
-
Method Detail
-
getObjectAt
java.lang.Object getObjectAt(int rowIndex) throws javax.ejb.FinderException
Description copied from interface:IObjectTableModel
Return the object associated to indicated row.- Specified by:
getObjectAt
in interfaceIObjectTableModel
- Throws:
javax.ejb.FinderException
-
refresh
void refresh() throws TabException
Description copied from interface:IRefreshTableModel
Refresh data from datasource.- Specified by:
refresh
in interfaceIRefreshTableModel
- Throws:
TabException
-
removeAllRows
void removeAllRows()
-
removeRow
void removeRow(java.util.Map keyValues) throws javax.ejb.FinderException
- Throws:
javax.ejb.FinderException
- Since:
- 5.0
-
getTotalSize
int getTotalSize() throws java.rmi.RemoteException
Total count of objects represented by this table model.Cantidad de objetos total representados por el table model.
getRowCount()
in another side, return the loaded objects count, not total.- Throws:
java.rmi.RemoteException
-
getSum
java.lang.Number getSum(java.lang.String property) throws java.rmi.RemoteException
- Throws:
java.rmi.RemoteException
-
getChunkSize
int getChunkSize()
- Since:
- 5.7
-
isAllLoaded
boolean isAllLoaded()
- Since:
- 5.7
-
-