Class SortSpecifier

All Implemented Interfaces:
HasHandlers

public class SortSpecifier extends DataClass
Class defining the details of a single sort operation
  • Constructor Details

  • Method Details

    • getOrCreateRef

      public static SortSpecifier getOrCreateRef(JavaScriptObject jsObj)
    • setDirection

      public void setDirection(SortDirection sortDirection)
      The direction in which this specifier should sort.
      Parameters:
      sortDirection - the sortDirection
    • getSortDirection

      public SortDirection getSortDirection()
      The direction in which this specifier should sort.
      Returns:
      the sortDirection
    • setField

      public void setField(String field)
      The fieldName to which this sortSpecifier applies
      Parameters:
      field - the field name
    • getField

      public String getField()
      The field name to which this sortSpecifier applies
      Returns:
      the field name
    • convertToArray

      public static SortSpecifier[] convertToArray(String sortByString)
    • convertToArray

      public static SortSpecifier[] convertToArray(JavaScriptObject nativeArray)