public class SheetGroupListItem extends AbstractHierarchyListItem2 implements android.view.View.OnClickListener, Visibility2, Delete, Search
HierarchyListItem.ComparatorSort, HierarchyListItem.Sort, HierarchyListItem.SortAlphabet, HierarchyListItem.SortAlphabetDesc, HierarchyListItem.SortDistanceFromasyncRefresh, children, disposed, filter, listener, postFilter, reusable, uiHandlerINVISIBLE, SEMI_VISIBLE, VISIBLE| Constructor and Description |
|---|
SheetGroupListItem(MapView mapView,
java.io.File file) |
| Modifier and Type | Method and Description |
|---|---|
int |
getDescendantCount()
Returns the total number of descendant nodes that this node has.
|
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 |
android.graphics.drawable.Drawable |
getIconDrawable()
Get the icon drawable
|
java.lang.String |
getTitle()
Returns the title to be displayed for the item.
|
java.io.File |
getUserObject()
Returns the user object associated with the node.
|
boolean |
hideIfEmpty()
Count towards parent children if this item's children is empty
|
void |
onClick(android.view.View v) |
protected void |
refreshImpl()
Refresh implementation to be run on a background thread
If your class doesn't need to refresh then override the filter
method above to avoid unnecessary threading
|
void |
syncRefresh(android.widget.BaseAdapter listener,
HierarchyListFilter filter,
java.util.List<com.atakmap.android.rubbersheet.ui.AbstractSheetHierarchyListItem> sheets) |
async, buildQueryParams, delete, dispose, disposeChildren, disposeItems, find, findChild, getAction, getAssociationKey, getChildActions, getChildAt, getChildCount, getChildren, getCustomLayout, getDefaultSortModes, getDeleteActions, getDescription, getDropDownSize, getExtraView, getFilter, getFooterView, getHeaderView, getIconColor, getIconUri, getListItemView, getLocalData, getLocalData, getPreferredListIndex, getSorts, getUID, getVisibility, isChildSupported, isDisposed, isGetChildrenSupported, isMultiSelectSupported, isVisible, notifyListener, notifyListener, postAccept, postRefresh, refresh, refresh, refresh, refresh, requestRefresh, requestRefresh, search, setLocalData, setPostFilter, setVisible, sortItems, syncRefresh, updateChildrenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVisibilityisVisible, setVisiblepublic SheetGroupListItem(MapView mapView, java.io.File file)
public java.lang.String getTitle()
HierarchyListItemgetTitle in interface HierarchyListItempublic android.graphics.drawable.Drawable getIconDrawable()
HierarchyListItem2getIconDrawable in interface HierarchyListItem2getIconDrawable in class AbstractHierarchyListItem2public int getDescendantCount()
HierarchyListItemgetDescendantCount in interface HierarchyListItempublic java.io.File getUserObject()
HierarchyListItemgetUserObject in interface HierarchyListItemnull.public 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 void onClick(android.view.View v)
onClick in interface android.view.View.OnClickListenerpublic void syncRefresh(android.widget.BaseAdapter listener,
HierarchyListFilter filter,
java.util.List<com.atakmap.android.rubbersheet.ui.AbstractSheetHierarchyListItem> sheets)
protected void refreshImpl()
AbstractHierarchyListItem2refreshImpl in class AbstractHierarchyListItem2public boolean hideIfEmpty()
HierarchyListItem2hideIfEmpty in interface HierarchyListItem2