protected static class AbstractSortableTableBean.SortInfo
extends java.lang.Object
implements java.lang.Cloneable
Constructor and Description |
---|
SortInfo(java.lang.String columnName,
int mode)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
clearColumnIndex() |
java.lang.Object |
clone() |
int |
getColumnIndex()
Returns the column index.
|
java.lang.String |
getColumnName()
Returns the column name.
|
int |
getMode()
Returns the sort mode.
|
boolean |
isAscending()
Returns true if the sort mode is ascending.
|
boolean |
isDescending()
Returns true if the sort mode is descending.
|
boolean |
isNotSorted()
Returns true if the column isn't sorted.
|
protected int |
lookupIndex(TableBean<?> table)
Returns the column index.
|
protected java.lang.String |
lookupName(TableBean<?> table)
Returns the column name.
|
protected java.lang.String |
paramString()
Returns a parameterized java.lang.String containing debug
information on the instance.
|
java.lang.String |
toString()
Returns a java.lang.String representation of the instance.
|
public SortInfo(java.lang.String columnName, int mode)
columnName
- the name of the column to which the sort should
apply.mode
- the sort mode.public void clearColumnIndex()
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public java.lang.String getColumnName()
public int getColumnIndex()
protected int lookupIndex(TableBean<?> table)
protected java.lang.String lookupName(TableBean<?> table)
public int getMode()
public boolean isAscending()
public boolean isDescending()
public boolean isNotSorted()
protected java.lang.String paramString()
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © Technia AB. All Rights Reserved.