Class IFIXGRIDBinding.FIXGRIDSortInfo
java.lang.Object
org.eclnt.jsfserver.elements.impl.IFIXGRIDBinding.FIXGRIDSortInfo
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- IFIXGRIDBinding<itemClass extends FIXGRIDItem>
Sort information that is kept per sortable column.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReference of this column.int
In case of multiple column sorting the sort sequence represents the sort order: starting with 0 for the first prioroty, 1 for the next one, etc. etc.Sort status of the corresponding column => one of the SORT_* constants (e.g.int
Sort status as integer.void
setSortSequence
(int sortSequence) void
setSortStatus
(int sortStatus) Setting the sort status is done by sorting the grid, calling methodFIXGRIDBinding.sort(String, boolean)
.
-
Constructor Details
-
FIXGRIDSortInfo
-
-
Method Details
-
getSortStatus
Sort status of the corresponding column => one of the SORT_* constants (e.g. FIXGRIDBinding.SORT_ASCENDING). -
getSortStatusInt
public int getSortStatusInt()Sort status as integer. -
setSortStatus
public void setSortStatus(int sortStatus) Setting the sort status is done by sorting the grid, calling methodFIXGRIDBinding.sort(String, boolean)
. -
getSortReference
Reference of this column. If defined this is the attribute GRIDCOL-SORTREFERENCE, if not defined then the "most appropriate reference" is chosen, e.g. in a column containing a field, the expression behind the TEXT attribute is used. -
getSortSequence
public int getSortSequence()In case of multiple column sorting the sort sequence represents the sort order: starting with 0 for the first prioroty, 1 for the next one, etc. etc.
The value -1 is returned if there is no sorting of the column. -
setSortSequence
public void setSortSequence(int sortSequence)
-