com.plumtree.uiinfrastructure.form.sort
Interface ISortModelRO

All Superinterfaces:
IModelRO, IMVCObject
All Known Subinterfaces:
ISortModel
All Known Implementing Classes:
DirModel, ObjMgrModel, SiteMapModel

public interface ISortModelRO
extends IModelRO

This model interface needs to be implemented to use the sort framework.

Author:
Don Hayler

Method Summary
 int GetSortDirection()
          Get the sort direction for the currently sorted header column.
 int GetSortedHeader()
          Get the column id of the header that is currently sorted (starting with 0).
 
Methods inherited from interface com.plumtree.uiinfrastructure.activityspace.IMVCObject
GetName
 

Method Detail

GetSortDirection

int GetSortDirection()
Get the sort direction for the currently sorted header column. This should return either PTSortedArrayWrapper.PTSAW_SORT_ASCENDING or PTSortedArrayWrapper.PTSAW_SORT_DESCENDING. This method only needs to return useful information if GetSortable() returns true.

Returns:
int the sort direction from PTSortedArrayWrapper.

GetSortedHeader

int GetSortedHeader()
Get the column id of the header that is currently sorted (starting with 0). This method only needs to return useful information if GetSortable() returns true.

Returns:
int the column id of the currently sorted header column.



Copyright © 2002,2003,2004,2005 Plumtree Software, Inc., All Rights Reserved.