[]
        
(Showing Draft Content)

SortFieldBase

Class SortFieldBase

java.lang.Object
com.grapecity.documents.excel.SortFieldBase
All Implemented Interfaces:
ISortField
Direct Known Subclasses:
CellColorSortField, FontColorSortField, IconSortField, ValueSortField

public abstract class SortFieldBase extends Object implements ISortField
Represents the sort base class.
  • Constructor Details

    • SortFieldBase

      public SortFieldBase()
  • Method Details

    • getKey

      public final IRange getKey()
      Specifies the column index.
      Specified by:
      getKey in interface ISortField
      Returns:
      The range representing the sort key.
    • getPriority

      public final int getPriority()
      Specifies the priority of multiple sort columns.
      Specified by:
      getPriority in interface ISortField
      Returns:
      The priority of the sort field.
    • setPriority

      public final void setPriority(int value)
      Sets the priority of multiple sort columns.
      Specified by:
      setPriority in interface ISortField
      Parameters:
      value - The priority of the sort field.
    • getSortOn

      public final SortOnType getSortOn()
      Specifies the sort type.
      Specified by:
      getSortOn in interface ISortField
      Returns:
      The sort type.