Esri Geoportal Server
1.0

com.esri.gpt.control.view
Class BaseSortDirectionStyleMap

java.lang.Object
  extended by com.esri.gpt.framework.jsf.FacesMap<String>
      extended by com.esri.gpt.control.view.BaseSortDirectionStyleMap
All Implemented Interfaces:
Serializable, Map<String,String>
Direct Known Subclasses:
SortDirectionStyleMap

public abstract class BaseSortDirectionStyleMap
extends FacesMap<String>

Base (abstract) sort direction style map.

Helps with CSS style name evaluation for the table header title. CSS style name evaluation is based upon two factors: sort direction style stored within the object, and SortOption provided runtime by the concrete implementation of the class.

See Also:
SortOption, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Constructor Summary
BaseSortDirectionStyleMap()
           
 
Method Summary
 String get(Object key)
          Gets header style for the given column.
abstract  SortOption getSortOption()
          Gets sort option.
 SortDirectionStyle getStyle()
          Gets sort direcion style.
 void setStyle(SortDirectionStyle style)
          Sets sort direction style.
 
Methods inherited from class com.esri.gpt.framework.jsf.FacesMap
clear, containsKey, containsValue, entrySet, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

BaseSortDirectionStyleMap

public BaseSortDirectionStyleMap()
Method Detail

get

public String get(Object key)
Gets header style for the given column.

Specified by:
get in interface Map<String,String>
Overrides:
get in class FacesMap<String>
Parameters:
key - column name
Returns:
style name

getStyle

public SortDirectionStyle getStyle()
Gets sort direcion style.

Returns:
sort direction style

setStyle

public void setStyle(SortDirectionStyle style)
Sets sort direction style.

Parameters:
style - sort direction style

getSortOption

public abstract SortOption getSortOption()
Gets sort option.

Returns:
sort option

Esri Geoportal Server
1.0

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