public class ColumnSortInfo extends SortInfo
setColumnSort
API. Note that the base class SortInfo
data and direction array settings should be single element arrays here.Modifier and Type | Field and Description |
---|---|
protected boolean |
m_grouped |
protected boolean |
m_hidden |
protected int |
m_type |
ASCENDING, DESCENDING, FIRST, LAST, m_direction, m_layerName, m_parameterHelper
Constructor and Description |
---|
ColumnSortInfo()
Constructor
|
ColumnSortInfo(java.lang.String layerName, int direction, boolean grouped)
Constructor
|
ColumnSortInfo(java.lang.String layerName, int direction, int type, boolean hidden)
Deprecated.
As of 11.0.0.0.2, replaced by
ColumnSortInfo(String, int, boolean) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
boolean |
getHidden()
Deprecated.
As of 11.0.0.0.2
|
int |
getType()
Deprecated.
As of 11.0.0.0.2
|
boolean |
isGrouped()
Retrieves whether this column should be group sorted
|
void |
setGrouped(boolean grouped)
Specifies whether this column should be group sorted
|
void |
setHidden(boolean hidden)
Deprecated.
As of 11.0.0.0.2
|
void |
setType(int type)
Deprecated.
As of 11.0.0.0.2
|
associateParameter, getAssociatedParameterName, getDirection, getLayerName, getParameterNames, parameterize, setDirection, setLayerName, usesParameter
protected int m_type
protected boolean m_hidden
protected boolean m_grouped
public ColumnSortInfo()
public ColumnSortInfo(java.lang.String layerName, int direction, int type, boolean hidden)
ColumnSortInfo(String, int, boolean)
layerName
- name of the layer to which these sort criteria applydirection
- Array of QDR objects by which to sort.type
- One of the sort type constants defined below.hidden
- true
if column should be hidden.public ColumnSortInfo(java.lang.String layerName, int direction, boolean grouped)
layerName
- The column to sortdirection
- The direction in which to sortgrouped
- Indicates whether the column should be group sortedpublic void setType(int type)
type
- One of the sort type constants defined below.public int getType()
public void setHidden(boolean hidden)
true
indicates that the column on which the sort takes place should be hidden.hidden
- true
if column should be hidden.public boolean getHidden()
true
if item is hidden.public void setGrouped(boolean grouped)
grouped
- true
for a group sort, false
otherwise.public boolean isGrouped()
true
for a group sort, false
otherwise.