public interface FTableAtmI
extends javax.swing.table.TableModel
TableModel
contract.
This interface is designed for table models that manage a collection of objects (often Business Objects or similar domain entities) and provide methods for direct object-to-row mapping, data refreshing, and status checks regarding data completeness.
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
$0 |
Modifier and Type | Method and Description |
---|---|
void |
cancel()
Cancels any ongoing data loading or processing operations within the table model.
|
java.lang.Object |
getObjectForRow(int i)
Retrieves the domain object associated with the specified row index in the table.
|
int |
getRowForObject(java.lang.Object o)
Retrieves the row index corresponding to a given domain object in the table.
|
boolean |
isDataIncomplete()
Checks if the data currently loaded in the table model is incomplete.
|
void |
refresh()
Refreshes the data managed by this table model.
|
static final java.lang.String $0
java.lang.Object getObjectForRow(int i)
i
- The row index.Object
representing the data item for the given row.int getRowForObject(java.lang.Object o)
o
- The Object
for which to find the row index.void refresh()
This method typically reloads data from its source, updates internal structures, and notifies listeners of any changes, ensuring the table displays the most current information.
void cancel()
This can be used to interrupt long-running tasks, such as fetching large datasets, and should ideally clean up any associated resources.
boolean isDataIncomplete()
This might indicate that not all data has been fetched yet, or that there are pending operations that would complete the dataset.
true
if the data is incomplete, false
otherwise.Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.