public static class

ColumnSortList.ColumnSortInfo

extends Object
java.lang.Object
   ↳ com.google.gwt.user.cellview.client.ColumnSortList.ColumnSortInfo

Class Overview

Information about the sort order of a specific column in a table.

Summary

Public Constructors
ColumnSortList.ColumnSortInfo(Column<?, ?> column, boolean ascending)
Public Methods
boolean equals(Object obj)
Check if this object is equal to another.
Column<?, ?> getColumn()
Get the Column that was sorted.
int hashCode()
boolean isAscending()
Check if the column was sorted in ascending or descending order.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ColumnSortList.ColumnSortInfo (Column<?, ?> column, boolean ascending)

Parameters
column the column index
ascending true if sorted ascending

Public Methods

public boolean equals (Object obj)

Check if this object is equal to another. The objects are equal if the column and ascending values are the equal.

Parameters
obj the object to check for equality
Returns
  • true if objects are the same

public Column<?, ?> getColumn ()

Get the Column that was sorted.

Returns

public int hashCode ()

public boolean isAscending ()

Check if the column was sorted in ascending or descending order.

Returns
  • true if ascending, false if descending