|
Esri Geoportal Server 1.2.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.esri.gpt.framework.jsf.FacesMap<String>
com.esri.gpt.framework.jsf.TabStyleMap
public class TabStyleMap
Provides a Map interface for setting the style class of a menu navigation tab based upon a supplied tab id.
Example:
styleClass="#{PageContext.tabStyleMap['catalog.search']}"
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface java.util.Map |
---|
Map.Entry<K,V> |
Constructor Summary | |
---|---|
TabStyleMap(String activeTabId,
String activePageId)
Constructs with the id associated with the active page. |
Method Summary | |
---|---|
String |
get(Object tabId)
Implements the "get" method for a Map to determine the style class of a tab navigation link. |
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 |
---|
public TabStyleMap(String activeTabId, String activePageId)
activeTabId
- the id of the active pageactivePageId
- the tab id of the active pageMethod Detail |
---|
public String get(Object tabId)
If the supplied tab id matches the active page's tab id "current" is returned, otherwise an empty string is returned.
get
in interface Map<String,String>
get
in class FacesMap<String>
tabId
- the active tab id
|
Esri Geoportal Server 1.2.0
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |