|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.widgetideas.table.client.TableModel.ColumnSortInfo
public static class TableModel.ColumnSortInfo
Information about the sort order of a specific column in a table.
Constructor Summary | |
---|---|
TableModel.ColumnSortInfo()
Default Constructor. |
|
TableModel.ColumnSortInfo(int column,
boolean ascending)
Constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
boolean |
equals(TableModel.ColumnSortInfo csi)
Check if this object is equal to another. |
int |
getColumn()
|
int |
hashCode()
|
boolean |
isAscending()
|
void |
setAscending(boolean ascending)
Set whether or not the sorting is ascending or descending. |
void |
setColumn(int column)
Set the column index. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TableModel.ColumnSortInfo()
public TableModel.ColumnSortInfo(int column, boolean ascending)
column
- the column indexascending
- true if sorted ascendingMethod Detail |
---|
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public boolean equals(TableModel.ColumnSortInfo csi)
csi
- the other object
public int getColumn()
public int hashCode()
hashCode
in class java.lang.Object
public boolean isAscending()
public void setAscending(boolean ascending)
ascending
- true if ascending, false if descendingpublic void setColumn(int column)
column
- the column index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |