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 TypeMethodDescriptionbooleanvoidfillObjectCategory(GLMapVectorObject object) Fills category information for vector object using it's tagsRetrieves the child categories of this category.Retrieves the icon name of the category.Retrieves the parent category of this category.Retrieves the reference object that matches this category.inthashCode()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
Retrieves the icon name of the category.- Returns:
- The icon name as a
String, ornullif no icon is associated with the category.
-
getParent
Retrieves the parent category of this category.- Returns:
- The parent
GLSearchCategory, ornullif this category has no parent.
-
getChilds
Retrieves the child categories of this category.- Returns:
- An array of
GLSearchCategoryobjects representing the child categories.
-
getRefObject
Retrieves the reference object that matches this category.- Returns:
- A
GLMapVectorObjectassociated with 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
-