cmu.survey.data
Class OrderBy
java.lang.Object
cmu.survey.data.OrderBy
public class OrderBy
- extends java.lang.Object
A direction to sort a column. Used in DataTableModel to show which columns should be ordered how.
Constructor Summary |
OrderBy(java.lang.String columnName)
|
OrderBy(java.lang.String columnName,
boolean forwards)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OrderBy
public OrderBy(java.lang.String columnName)
OrderBy
public OrderBy(java.lang.String columnName,
boolean forwards)
getColumnName
public java.lang.String getColumnName()
- Returns:
- Returns the columnName.
setColumnName
public void setColumnName(java.lang.String columnName)
- Parameters:
columnName
- The columnName to set.
isForwards
public boolean isForwards()
- Returns:
- Returns the forwards.
setForwards
public void setForwards(boolean forwards)
- Parameters:
forwards
- The forwards to set.