Class IFIXGRIDBinding.FIXGRIDSortInfo

java.lang.Object
org.eclnt.jsfserver.elements.impl.IFIXGRIDBinding.FIXGRIDSortInfo
All Implemented Interfaces:
Serializable
Enclosing interface:
IFIXGRIDBinding<itemClass extends FIXGRIDItem>

public static class IFIXGRIDBinding.FIXGRIDSortInfo extends Object implements Serializable
Sort information that is kept per sortable column.
See Also:
  • Constructor Details

    • FIXGRIDSortInfo

      public FIXGRIDSortInfo(String sortReference)
  • Method Details

    • getSortStatus

      public String 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 method FIXGRIDBinding.sort(String, boolean).
    • getSortReference

      public String 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)