Package globus.glsearch
Class GLSearchCategory
java.lang.Object
globus.glmap.GLNativeObject
globus.glsearch.GLSearchCategory
GLSearchCategory
holds information about category that can be displayed to user.-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
fillObjectCategory
(GLMapVectorObject object) Fills category information for vector object using it's tagsReturns parent category or nullReference object that matches to this categoryint
hashCode()
localizedName
(GLMapLocaleSettings localeSettings) Returns name of the category according language priority settings.Methods inherited from class globus.glmap.GLNativeObject
dispose
-
Method Details
-
localizedName
Returns name of the category according language priority settings. It checks for translated name from first language in priority list to the last one until first translated name is found.- Parameters:
localeSettings
- language order settings- Returns:
- localised name of the category.
-
getIconName
- Returns:
- Icon name of the category.
-
getParent
Returns parent category or null- Returns:
- parent category
-
getChilds
- Returns:
- Child categories of the category.
-
getRefObject
Reference object that matches to this category- Returns:
- object that matches to this category
-
fillObjectCategory
Fills category information for vector object using it's tags- Parameters:
object
- Vector object to fill category
-
hashCode
public int hashCode() -
equals
-