Package globus.glsearch
Class GLSearchCategory
java.lang.Object
globus.glmap.GLNativeObject
globus.glsearch.GLSearchCategory
public class GLSearchCategory
extends globus.glmap.GLNativeObject
GLSearchCategory holds information about category that can be displayed to user.-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidfillObjectCategory(globus.glmap.GLMapVectorObject object) Fills category information for vector object using it's tagsReturns parent category or nullglobus.glmap.GLMapVectorObjectReference object that matches to this categoryinthashCode()globus.glmap.GLMapValuelocalizedName(globus.glmap.GLMapLocaleSettings localeSettings) Returns name of the category according language priority settings.Methods inherited from class globus.glmap.GLNativeObject
dispose
-
Method Details
-
localizedName
@Nullable public globus.glmap.GLMapValue localizedName(globus.glmap.GLMapLocaleSettings localeSettings) 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
@NonNull public globus.glmap.GLMapVectorObject getRefObject()Reference object that matches to this category- Returns:
- object that matches to this category
-
fillObjectCategory
public void fillObjectCategory(@NonNull globus.glmap.GLMapVectorObject object) Fills category information for vector object using it's tags- Parameters:
object- Vector object to fill category
-
hashCode
public int hashCode() -
equals
-