org.openxava.tab.impl
Interface IEntityTab
- All Superinterfaces:
- ISearch, IWithXTableModel
- All Known Subinterfaces:
- IEntityTabImpl
- All Known Implementing Classes:
- EntityTab
public interface IEntityTab
- extends IWithXTableModel, ISearch
Provides bussines component data in tabular format.
The data is handle via <@link IXTableModel>,
that is obtained from <@link IWithXTableModel#getTable>
This table can maintain a connection to the source IEntityTab
in order to obtaining on demand data from it.
Example:
This is a example of use, but not implementation.
IEntityTab tab = obtaineEntityTab();
tableModel = tab.getTable();
jtable.setModel(tableModel); // In this case we assign to a swing table
tab.search(0, null); // We execute the 0 consult
tableModel.refresh(); // The data is loaded in table model and then displayed in jtable
- Author:
- Javier Paniza