public class NonExportableMapItemHierarchyListItem extends MapItemHierarchyListItem
HierarchyListItem.ComparatorSort, HierarchyListItem.Sort, HierarchyListItem.SortAlphabet, HierarchyListItem.SortAlphabetDesc, HierarchyListItem.SortDistanceFrom
item, mapView, TAG
asyncRefresh, children, disposed, filter, listener, postFilter, reusable, uiHandler
Constructor and Description |
---|
NonExportableMapItemHierarchyListItem(MapView mapView,
MapItem item) |
Modifier and Type | Method and Description |
---|---|
<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.
|
boolean |
isSupported(java.lang.Class<?> target)
Check if this instance supports the specified target class type
|
java.lang.Object |
toObjectOf(java.lang.Class<?> target,
ExportFilters filters)
Export to the specified target class type
|
delete, equals, getBounds, getExtraView, getHashtags, getIconColor, getIconDrawable, getMapItem, getPoint, getTitle, getUID, getURI, getUserObject, goTo, hashCode, highlight, isVisible, setHashtags, setVisible
dispose, getChildAt, getChildCount, getDescendantCount, getVisibility, hideIfEmpty, isChildSupported, refresh, refreshImpl
async, buildQueryParams, disposeChildren, disposeItems, find, findChild, getAssociationKey, getChildActions, getChildren, getCustomLayout, getDefaultSortModes, getDeleteActions, getDescription, getDropDownSize, getExtraView, getFilter, getFooterView, getHeaderView, getIconUri, getListItemView, getLocalData, getLocalData, getPreferredListIndex, getSorts, isDisposed, isGetChildrenSupported, isMultiSelectSupported, notifyListener, notifyListener, postAccept, postRefresh, refresh, refresh, refresh, requestRefresh, requestRefresh, search, setLocalData, setPostFilter, sortItems, syncRefresh, updateChildren
public <T extends Action> T getAction(java.lang.Class<T> clazz)
HierarchyListItem
getAction
in interface HierarchyListItem
getAction
in class AbstractHierarchyListItem2
clazz
- The action classnull
if the specified
action is not supported for the node.public boolean isSupported(java.lang.Class<?> target)
Exportable
isSupported
in interface Exportable
isSupported
in class MapItemHierarchyListItem
target
- the target classpublic java.lang.Object toObjectOf(java.lang.Class<?> target, ExportFilters filters) throws FormatNotSupportedException
Exportable
toObjectOf
in interface Exportable
toObjectOf
in class MapItemHierarchyListItem
target
- 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.