|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ISortInfo
Table sort information. Used by ISortableTableContentProvider
Method Summary | |
---|---|
IContentProvider |
getAscendings()
Return content provider for mapping keys to ascending values. |
Object |
getKey(int ordinal)
Sort key. |
int |
getOrdinal(Object key)
Sort ordinal associated with specified key. |
IContentProvider |
getOrdinals()
Return content provider for mapping keys to ordinal values. |
boolean |
isAscending(int ordinal)
Sort order. |
boolean |
isAscending(Object key)
Sort order associated with specified key. |
int |
size()
Return number of sort keys. |
Method Detail |
---|
int size()
Object getKey(int ordinal)
ordinal
- Must be > 0 and <= ISortInfo.size()
.
IndexOutOfBoundsException
- If ordinal <= 1 or > ISortInfo.size()
.boolean isAscending(int ordinal)
ordinal
- Must be > 0 and <= ISortInfo.size()
.
IndexOutOfBoundsException
- If ordinal <= 1 or > ISortInfo.size()
.boolean isAscending(Object key)
key
- the sort key.
int getOrdinal(Object key)
key
- sort ordinal
IContentProvider getOrdinals()
IContentProvider getAscendings()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |