Esri Geoportal Server
1.0

com.esri.gpt.control.view
Class SortDirectionStyle

java.lang.Object
  extended by com.esri.gpt.control.view.SortDirectionStyle

public class SortDirectionStyle
extends Object

Sort direction style.

Keeps CSS style name for each sort state of column header. Column can be sorted in ascending order, descending order, or might be unsorted. Anyof this style will be returned by BaseSortDirectionStyleMap during sort order evaluation.

See Also:
BaseSortDirectionStyleMap

Constructor Summary
SortDirectionStyle()
           
 
Method Summary
 String getStyleAsc()
          Gets CSS style for header of column sorted in ascending order.
 String getStyleDesc()
          Gets CSS style for header of column sorted in descending order.
 String getStyleNone()
          Gets CSS style for header of unsorded column.
 void setStyleAsc(String styleAsc)
          Sets CSS style for header of column sorted in ascending order.
 void setStyleDesc(String styleDesc)
          Sets CSS style for header of column sorted in descending order.
 void setStyleNone(String styleNone)
          Sets CSS style for header of unsorted column.
 String toString()
          Gets string representatio of the style object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SortDirectionStyle

public SortDirectionStyle()
Method Detail

getStyleAsc

public String getStyleAsc()
Gets CSS style for header of column sorted in ascending order.

Returns:
CSS style name

setStyleAsc

public void setStyleAsc(String styleAsc)
Sets CSS style for header of column sorted in ascending order.

Parameters:
styleAsc - CSS style name

getStyleDesc

public String getStyleDesc()
Gets CSS style for header of column sorted in descending order.

Returns:
CSS style name

setStyleDesc

public void setStyleDesc(String styleDesc)
Sets CSS style for header of column sorted in descending order.

Parameters:
styleDesc - CSS style name

getStyleNone

public String getStyleNone()
Gets CSS style for header of unsorded column.

Returns:
CSS style name

setStyleNone

public void setStyleNone(String styleNone)
Sets CSS style for header of unsorted column.

Parameters:
styleNone - CSS style name

toString

public String toString()
Gets string representatio of the style object.

Overrides:
toString in class Object
Returns:
string representation

Esri Geoportal Server
1.0

Copyright 2011 Environmental Systems Research Institute. All rights reserved. Use is subject to license terms.