|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.gpt.framework.request.SortOption
public class SortOption
Defines the option for sorting results.
| Nested Class Summary | |
|---|---|
static class |
SortOption.SortDirection
An enumeration describing a the sort direction. |
| Constructor Summary | |
|---|---|
SortOption()
Default constructor. |
|
| Method Summary | |
|---|---|
String |
getColumnKey()
Gets the column key for the sort. |
SortOption.SortDirection |
getDirection()
Gets the sort direction. |
String |
getStyleClass(String columnKey)
Gets the style class for a column key. |
SortOptionStyleMap |
getStyleMap()
Gets the style map. |
void |
setColumnKey(String key)
Sets the column key for the sort. |
void |
setColumnKey(String key,
boolean toggleDirection,
String defaultToggleDirection)
Sets the column key for the sort with toggling options. |
void |
setDirection(SortOption.SortDirection direction)
Sets the sort direction. |
void |
setDirection(String direction)
Sets the sort direction. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SortOption()
| Method Detail |
|---|
public String getColumnKey()
public void setColumnKey(String key)
key - the column key
public void setColumnKey(String key,
boolean toggleDirection,
String defaultToggleDirection)
key - the column keytoggleDirection - if true toggle the direction if the
new column key matches the current column keydefaultToggleDirection - the direction to use when
toggling if the new column key does not match the
current column keypublic SortOption.SortDirection getDirection()
public void setDirection(SortOption.SortDirection direction)
direction - the sort directionpublic void setDirection(String direction)
direction - the sort directionpublic SortOptionStyleMap getStyleMap()
public String getStyleClass(String columnKey)
columnKey - the subject column key
|
Esri Geoportal Server 1.2.9
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||