com.extjs.gxt.ui.client.data
Class BaseListLoadConfig

java.lang.Object
  extended by com.extjs.gxt.ui.client.data.BaseModelData
      extended by com.extjs.gxt.ui.client.data.BaseListLoadConfig
All Implemented Interfaces:
ListLoadConfig, LoadConfig, ModelData, java.io.Serializable
Direct Known Subclasses:
BaseGroupingLoadConfig, BasePagingLoadConfig, BaseRemoteSortTreeLoadConfig

public class BaseListLoadConfig
extends BaseModelData
implements ListLoadConfig, java.io.Serializable

Default ListLoadConfig implementation.

See Also:
ListLoadConfig, Serialized Form

Field Summary
 
Fields inherited from class com.extjs.gxt.ui.client.data.BaseModelData
allowNestedValues, map
 
Constructor Summary
BaseListLoadConfig()
           
BaseListLoadConfig(SortInfo info)
           
BaseListLoadConfig(java.lang.String field, Style.SortDir dir)
           
 
Method Summary
 Style.SortDir getSortDir()
          Returns the current sort direction.
 java.lang.String getSortField()
          Returns the current sort field.
 SortInfo getSortInfo()
          Returns the sort info.
 void setSortDir(Style.SortDir sortDir)
          Sets the sort direction.
 void setSortField(java.lang.String sortField)
          Sets the sort field.
 void setSortInfo(SortInfo sortInfo)
          Sets the sort info.
 
Methods inherited from class com.extjs.gxt.ui.client.data.BaseModelData
get, get, getProperties, getPropertyNames, isAllowNestedValues, remove, set, setAllowNestedValues, setProperties
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.extjs.gxt.ui.client.data.ModelData
get, getProperties, getPropertyNames, remove, set
 

Constructor Detail

BaseListLoadConfig

public BaseListLoadConfig()

BaseListLoadConfig

public BaseListLoadConfig(SortInfo info)

BaseListLoadConfig

public BaseListLoadConfig(java.lang.String field,
                          Style.SortDir dir)
Method Detail

getSortDir

public Style.SortDir getSortDir()
Description copied from interface: ListLoadConfig
Returns the current sort direction.

Specified by:
getSortDir in interface ListLoadConfig
Returns:
the sort direction

getSortField

public java.lang.String getSortField()
Description copied from interface: ListLoadConfig
Returns the current sort field.

Specified by:
getSortField in interface ListLoadConfig
Returns:
the sort field

getSortInfo

public SortInfo getSortInfo()
Description copied from interface: ListLoadConfig
Returns the sort info.

Specified by:
getSortInfo in interface ListLoadConfig

setSortInfo

public void setSortInfo(SortInfo sortInfo)
Description copied from interface: ListLoadConfig
Sets the sort info.

Specified by:
setSortInfo in interface ListLoadConfig

setSortField

public void setSortField(java.lang.String sortField)
Description copied from interface: ListLoadConfig
Sets the sort field.

Specified by:
setSortField in interface ListLoadConfig
Parameters:
sortField - the sort field

setSortDir

public void setSortDir(Style.SortDir sortDir)
Description copied from interface: ListLoadConfig
Sets the sort direction.

Specified by:
setSortDir in interface ListLoadConfig
Parameters:
sortDir - the sort direction