public class ModelInfoHierarchyListItem extends AbstractChildlessListItem implements Visibility, ItemClick, Delete, Export, FOVFilter.Filterable
HierarchyListItem.ComparatorSort, HierarchyListItem.Sort, HierarchyListItem.SortAlphabet, HierarchyListItem.SortAlphabetDesc, HierarchyListItem.SortDistanceFromasyncRefresh, children, disposed, filter, listener, postFilter, reusable, uiHandler| Constructor and Description |
|---|
ModelInfoHierarchyListItem(MapView view,
FeatureDataStore2 dataStore,
Feature feature,
ModelFileHierarchyListItem parent) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(FOVFilter.MapState fov) |
boolean |
delete()
Execute all delete actions defined in this class
|
<T extends Action> |
getAction(java.lang.Class<T> clazz)
Returns an instance of the specified action that can be used to interact with the node's
underlying content.
|
android.view.View |
getExtraView(android.view.View v,
android.view.ViewGroup parent)
Same as
HierarchyListItem.getExtraView() except the existing view is provided
This is to allow more efficient view cycling when scrolling through OM |
int |
getIconColor()
Returns the color to be applied to the icon.
|
android.graphics.drawable.Drawable |
getIconDrawable()
Get the icon drawable
|
java.lang.String |
getTitle()
Returns the title to be displayed for the item.
|
java.lang.Object |
getUserObject()
Returns the user object associated with the node.
|
boolean |
isMultiSelectSupported()
Does this list support multi-selection of its items?
|
boolean |
isSupported(java.lang.Class<?> target)
Check if this instance supports the specified target class type
|
boolean |
isVisible()
Gets the current visibility state.
|
boolean |
onClick() |
boolean |
onLongClick() |
boolean |
setVisible(boolean visible)
Encapsulation of the visibility toggle implementation as an action.
|
java.lang.Object |
toObjectOf(java.lang.Class<?> target,
ExportFilters filters)
Export to the specified target class type
|
dispose, getChildAt, getChildCount, getDescendantCount, getVisibility, hideIfEmpty, isChildSupported, refresh, refreshImplasync, buildQueryParams, disposeChildren, disposeItems, find, findChild, getAssociationKey, getChildActions, getChildren, getCustomLayout, getDefaultSortModes, getDeleteActions, getDescription, getDropDownSize, getExtraView, getFilter, getFooterView, getHeaderView, getIconUri, getListItemView, getLocalData, getLocalData, getPreferredListIndex, getSorts, getUID, isDisposed, isGetChildrenSupported, notifyListener, notifyListener, postAccept, postRefresh, refresh, refresh, refresh, requestRefresh, requestRefresh, search, setLocalData, setPostFilter, sortItems, syncRefresh, updateChildrenpublic ModelInfoHierarchyListItem(MapView view, FeatureDataStore2 dataStore, Feature feature, ModelFileHierarchyListItem parent)
public java.lang.String getTitle()
HierarchyListItemgetTitle in interface HierarchyListItempublic android.view.View getExtraView(android.view.View v,
android.view.ViewGroup parent)
HierarchyListItem2HierarchyListItem.getExtraView() except the existing view is provided
This is to allow more efficient view cycling when scrolling through OMgetExtraView in interface HierarchyListItem2getExtraView in class AbstractHierarchyListItem2v - The existing extra view. Only inflate a new layout
if the id/context do not match your expected config.parent - The extra view parent - Use this as "root" when inflatingpublic android.graphics.drawable.Drawable getIconDrawable()
HierarchyListItem2getIconDrawable in interface HierarchyListItem2getIconDrawable in class AbstractHierarchyListItem2public int getIconColor()
HierarchyListItemgetIconColor in interface HierarchyListItemgetIconColor in class AbstractHierarchyListItem20xFFFFFFFF (-1)
to use the original color.public java.lang.Object getUserObject()
HierarchyListItemgetUserObject in interface HierarchyListItemnull.public boolean isMultiSelectSupported()
HierarchyListItem2isMultiSelectSupported in interface HierarchyListItem2isMultiSelectSupported in class AbstractHierarchyListItem2public <T extends Action> T getAction(java.lang.Class<T> clazz)
HierarchyListItemgetAction in interface HierarchyListItemgetAction in class AbstractHierarchyListItem2clazz - The action classnull if the specified
action is not supported for the node.public boolean setVisible(boolean visible)
VisibilitysetVisible in interface VisibilitysetVisible in class AbstractHierarchyListItem2visible - boolean true is visible, false invisible.public boolean isVisible()
VisibilityisVisible in interface VisibilityisVisible in class AbstractChildlessListItempublic boolean onLongClick()
onLongClick in interface ItemClickpublic boolean delete()
AbstractHierarchyListItem2delete in interface Deletedelete in class AbstractHierarchyListItem2public boolean isSupported(java.lang.Class<?> target)
ExportableisSupported in interface Exportabletarget - the target classpublic java.lang.Object toObjectOf(java.lang.Class<?> target,
ExportFilters filters)
throws FormatNotSupportedException
ExportabletoObjectOf in interface Exportabletarget - the target classfilters - Allows ExportMarshal instances to filter e.g. based
on geographic region or other criteriaFormatNotSupportedException - if there is an issue creating the object.public boolean accept(FOVFilter.MapState fov)
accept in interface FOVFilter.Filterable