com.extjs.gxt.ui.client.data.ListLoader Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gxt Show documentation
Show all versions of gxt Show documentation
Rich Internet Application Framework for GWT
/*
* Sencha GXT 2.3.1a - Sencha for GWT
* Copyright(c) 2007-2013, Sencha, Inc.
* [email protected]
*
* http://www.sencha.com/products/gxt/license/
*/
package com.extjs.gxt.ui.client.data;
import com.extjs.gxt.ui.client.Style.SortDir;
/**
* Interface for list based loaders.
*
* @param the data type being returned by the loader
*/
public interface ListLoader extends Loader {
/**
* Returns true
if remote sorting is enabled.
*
* @return the remote sort state
*/
public boolean isRemoteSort();
/**
* Returns the current sort direction.
*
* @return the sort direction
*/
public SortDir getSortDir();
/**
* Returns the current sort field.
*
* @return the sort field
*/
public String getSortField();
/**
* Sets the current sort direction.
*
* @param dir the sort direction
*/
public void setSortDir(SortDir dir);
/**
* Sets the current sort field.
*
* @param field the sort field
*/
public void setSortField(String field);
/**
* Sets the remote sort state.
*
* @param remote true for remote sort, false for local sorting
*/
public void setRemoteSort(boolean remote);
}