|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.esri.core.symbol.advanced.SymbolDictionary
public class SymbolDictionary
The SymbolDictionary class contains functionality to get information about the dictionary including lists of symbols and their associated information.
Nested Class Summary | |
---|---|
static class |
SymbolDictionary.DictionaryType
Enumeration of the supported types of dictionary |
Constructor Summary | |
---|---|
SymbolDictionary(SymbolDictionary.DictionaryType type)
Constructor requiring the type of dictionary to be created. |
|
SymbolDictionary(SymbolDictionary.DictionaryType type,
String resourcePath)
Constructor requiring the type of dictionary to be created and the path to the dictionary file on the device. |
Method Summary | |
---|---|
Set<String> |
getFilterNames()
Returns the names of the available filters for this symbol dictionary |
List<String> |
getFilterValues(String filterName)
Returns the possible values for the filter passed in parameter. |
List<String> |
getKeywords()
Returns the available keywords for this symbol dictionary. |
boolean |
getSymbolImage(String symbolName,
android.graphics.Bitmap bitmapImage)
Gets a Bitmap of the symbol which name has been provided. |
List<String> |
getSymbolKeywords(String symbolName)
Returns the available keywords for the symbol passed in parameter. |
List<String> |
getSymbolNames(SymbolDictionaryQuery query)
Returns all the symbol names corresponding to the query passed in parameter for this symbol dictionary. |
Map<String,String> |
getSymbolValues(String symbolName)
Returns the available values for the Category, SymbolId and style for the symbol passed in parameter. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SymbolDictionary(SymbolDictionary.DictionaryType type) throws FileNotFoundException
type
- SymbolDictionary.DictionaryType
of the dictionary to be created
FileNotFoundException
- if the dictionary cannot be found on the device at the default locationpublic SymbolDictionary(SymbolDictionary.DictionaryType type, String resourcePath) throws FileNotFoundException
type
- SymbolDictionary.DictionaryType
of the dictionary to be createdresourcePath
- path to the dictionary file on the device
FileNotFoundException
- if the dictionary cannot be found on the device at the location providedMethod Detail |
---|
public boolean getSymbolImage(String symbolName, android.graphics.Bitmap bitmapImage)
Gets a Bitmap of the symbol which name has been provided.
Passing the output Bitmap as a parameter allows the user to manage the Bitmap as they see fit.
symbolName
- Name of the symbol to get the image forbitmapImage
- output Bitmap parameter
public Set<String> getFilterNames()
Set
of filter namespublic List<String> getFilterValues(String filterName)
filterName
- the name of the filter to retrieve the values for
List
of values (as String
s)public List<String> getKeywords()
List
of keywordspublic List<String> getSymbolKeywords(String symbolName)
symbolName
- the name of the symbol to retrieve the keywords forpublic List<String> getSymbolNames(SymbolDictionaryQuery query)
query
- the query used to search the symbol names
List
of symbol namespublic Map<String,String> getSymbolValues(String symbolName)
symbolName
- the name of the symbol to retrieve the values for
Map
of values
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |