Package globus.glsearch
Class GLSearchDisplayInfo
java.lang.Object
globus.glsearch.GLSearchDisplayInfo
- All Implemented Interfaces:
AutoCloseable
Display data for a search result row.
Returned by GLSearch.GetDisplayInfo(globus.glmap.GLMapVectorObject, globus.glmap.GLMapLocaleSettings). Online and offline search results are
normalized to the same fields: online results expose the data prepared by the search server,
offline results are built locally with the same rules. Close this object after copying the
values needed by the UI.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal GLSearchCategoryCategory of the object.final GLMapValueShort address context displayed below the title.final GLMapValuePrimary row text.final String[]Result types, for example["poi", "cafe"]. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()Closes the native title, secondary text, and category values owned by this display info.
-
Field Details
-
title
Primary row text. -
secondaryText
Short address context displayed below the title. -
types
Result types, for example["poi", "cafe"]. -
category
Category of the object. Provides the icon name viaGLSearchCategory.getIconName().
-
-
Method Details
-
close
public void close()Closes the native title, secondary text, and category values owned by this display info.- Specified by:
closein interfaceAutoCloseable
-