Class SortData

  • All Implemented Interfaces:
    java.io.Serializable, ActionData
    Direct Known Subclasses:
    SortExtData

    public class SortData
    extends java.lang.Object
    implements ActionData
    Represents sort data by sorting activity
    Author:
    jumperchen
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected SortData​(java.util.Map data)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getReferenceIndex()
      Returns the reference index.
      java.lang.String getSortDirection()
      Returns the sort direction.
      boolean isAscending()
      Returns true if the sorting request is ascending.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SortData

        protected SortData​(java.util.Map data)
    • Method Detail

      • isAscending

        public boolean isAscending()
        Returns true if the sorting request is ascending.
      • getSortDirection

        public java.lang.String getSortDirection()
        Returns the sort direction.
      • getReferenceIndex

        public int getReferenceIndex()
        Returns the reference index. This method is used for IHeaderElement to sort a header to get its index from its parent.
        Returns: