public class FileDatabaseMapGroupHierarchyListItem extends MapGroupHierarchyListItem implements android.view.View.OnClickListener, android.view.View.OnLongClickListener
HierarchyListItem.ComparatorSort, HierarchyListItem.Sort, HierarchyListItem.SortAlphabet, HierarchyListItem.SortAlphabetDesc, HierarchyListItem.SortDistanceFrom
ADD_TO_OBJ_LIST_FUNC, deepCount, group, groupMap, itemFilter, mapView, order, parent
asyncRefresh, children, disposed, filter, listener, postFilter, reusable, uiHandler
INVISIBLE, SEMI_VISIBLE, VISIBLE
Constructor and Description |
---|
FileDatabaseMapGroupHierarchyListItem(FileDatabaseMapGroupHierarchyListItem parent,
MapView mapView,
MapGroup group,
MapGroup.MapItemsCallback itemFilter,
HierarchyListFilter filter,
android.widget.BaseAdapter listener,
FileDatabase database,
boolean exportable) |
Modifier and Type | Method and Description |
---|---|
protected HierarchyListItem |
createChild(MapGroup group) |
protected HierarchyListItem |
createChild(MapItem item)
Child items/features are not individually exportable
|
boolean |
delete()
Execute all delete actions defined in this class
|
android.view.View |
getExtraView()
Returns the extra view, if any, associated with the node.
|
java.lang.String |
getFilePathToSend() |
boolean |
isSupported(java.lang.Class<?> target)
Check if this instance supports the specified target class type
|
void |
onClick(android.view.View v) |
boolean |
onLongClick(android.view.View view) |
java.lang.Object |
toObjectOf(java.lang.Class<?> target,
ExportFilters filters)
Export to the specified target class type
|
addToObjList, addToObjList, dispose, find, getDeleteActions, getDescendantCount, getIconUri, getPreferredListIndex, getTitle, getUserObject, hideIfEmpty, invalidate, isVisible, onGroupAdded, onGroupRemoved, onItemAdded, onItemRemoved, refreshImpl, setVisible
async, buildQueryParams, disposeChildren, disposeItems, findChild, getAction, getAssociationKey, getChildActions, getChildAt, getChildCount, getChildren, getCustomLayout, getDefaultSortModes, getDescription, getDropDownSize, getExtraView, getFilter, getFooterView, getHeaderView, getIconColor, getIconDrawable, getListItemView, getLocalData, getLocalData, getSorts, getUID, getVisibility, isChildSupported, isDisposed, isGetChildrenSupported, isMultiSelectSupported, notifyListener, notifyListener, postAccept, postRefresh, refresh, refresh, refresh, refresh, requestRefresh, requestRefresh, search, setLocalData, setPostFilter, sortItems, syncRefresh, updateChildren
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVisibility
public FileDatabaseMapGroupHierarchyListItem(FileDatabaseMapGroupHierarchyListItem parent, MapView mapView, MapGroup group, MapGroup.MapItemsCallback itemFilter, HierarchyListFilter filter, android.widget.BaseAdapter listener, FileDatabase database, boolean exportable)
protected HierarchyListItem createChild(MapGroup group)
createChild
in class MapGroupHierarchyListItem
protected HierarchyListItem createChild(MapItem item)
createChild
in class MapGroupHierarchyListItem
public android.view.View getExtraView()
HierarchyListItem
getExtraView
in interface HierarchyListItem
getExtraView
in class MapGroupHierarchyListItem
null
if there is no view.public void onClick(android.view.View v)
onClick
in interface android.view.View.OnClickListener
public boolean onLongClick(android.view.View view)
onLongClick
in interface android.view.View.OnLongClickListener
public java.lang.String getFilePathToSend()
public boolean delete()
AbstractHierarchyListItem2
delete
in interface Delete
delete
in interface GroupDelete
delete
in class AbstractHierarchyListItem2
public boolean isSupported(java.lang.Class<?> target)
Exportable
isSupported
in interface Exportable
isSupported
in class MapGroupHierarchyListItem
target
- the target classpublic java.lang.Object toObjectOf(java.lang.Class<?> target, ExportFilters filters)
Exportable
toObjectOf
in interface Exportable
toObjectOf
in class MapGroupHierarchyListItem
target
- the target classfilters
- Allows ExportMarshal
instances to filter e.g. based
on geographic region or other criteria