
fr.lteconsulting.hexa.client.tableobserver.ITableCommand Maven / Gradle / Ivy
The newest version!
package fr.lteconsulting.hexa.client.tableobserver;
import java.util.Comparator;
import fr.lteconsulting.hexa.client.interfaces.IAsyncCallback;
public interface ITableCommand
{
void quit();
void askRefreshTable();
boolean isLoaded();
void waitLoaded( IAsyncCallback callback );
boolean isEmpty(); // only works after the first "wholeTable" callback call
T getRecord( int recordId ); // only works after the first "wholeTable"
// callback call
Iterable getRecords(); // only works after the first "wholeTable"
// callback call
Iterable getRecordsSorted( Comparator comparator ); // only works
// after the
// first
// "wholeTable"
// callback call
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy