com.esri.gpt.control.search.browse
Class TocsByKey
java.lang.Object
com.esri.gpt.framework.jsf.FacesMap<Boolean>
com.esri.gpt.control.search.browse.TocsByKey
- All Implemented Interfaces:
- Serializable, Map<String,Boolean>
public class TocsByKey
- extends FacesMap<Boolean>
Provides a Map interface for setting the rendered attribute of a
Faces component based upon a supplied browse toc key.
Example:
rendered="#{PageContext.tocsByKey['browseCatalog']}"
- See Also:
- Serialized Form
Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
Method Summary |
Boolean |
get(Object key)
Implements the "get" method for a Map to return toc configuration status
a tag. |
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 |
TocsByKey
public TocsByKey(TocCollection tocs)
- Constructs based upon a supplied tocs.
- Parameters:
tocs
- the tocs collections configured
get
public Boolean get(Object key)
- Implements the "get" method for a Map to return toc configuration status
a tag.
The supplied tag should be a string.
- Specified by:
get
in interface Map<String,Boolean>
- Overrides:
get
in class FacesMap<Boolean>
- Parameters:
key
- the key associated with the toc
- Returns:
- true is toc is configured
Copyright 2011 Environmental Systems Research Institute.
All rights reserved.
Use is subject to
license terms.