public class MissionPackageHierarchyListItem extends AbstractHierarchyListItem2 implements Visibility2, Search, GroupDelete, Export, android.view.View.OnClickListener
HierarchyListItem.ComparatorSort, HierarchyListItem.Sort, HierarchyListItem.SortAlphabet, HierarchyListItem.SortAlphabetDesc, HierarchyListItem.SortDistanceFromasyncRefresh, children, disposed, filter, listener, postFilter, reusable, uiHandlerINVISIBLE, SEMI_VISIBLE, VISIBLE| Modifier and Type | Method and Description |
|---|---|
java.util.Set<HierarchyListItem> |
find(java.lang.String terms)
******************************************************************
|
<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.
|
java.lang.String |
getAssociationKey()
Get settings screen association key (see DropDownReceiver)
|
java.util.List<Delete> |
getDeleteActions()
Get the list of delete actions in this class
Meant to serve as a default implementation of
GroupDelete.getDeleteActions() |
int |
getDescendantCount()
Returns the total number of descendant nodes that this node has.
|
java.lang.String |
getDescription()
Get the item description (shown in gray under the title)
|
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 |
MissionPackageListGroup |
getGroup() |
android.view.View |
getHeaderView()
Get the custom header view for this list
|
android.graphics.drawable.Drawable |
getIconDrawable()
Get the icon drawable
|
java.lang.String |
getTitle()
Returns the title to be displayed for the item.
|
java.lang.String |
getUID()
Returns the unique ID of the list item
|
MissionPackageListGroup |
getUserObject()
Returns the user object associated with the node.
|
boolean |
hideIfEmpty()
Count towards parent children if this item's children is empty
|
boolean |
isChildSupported()
Check if list item can contain children
|
boolean |
isSupported(java.lang.Class<?> target)
Check if this instance supports the specified target class type
|
void |
onClick(android.view.View v) |
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
|
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
|
async, buildQueryParams, delete, dispose, disposeChildren, disposeItems, findChild, getChildActions, getChildAt, getChildCount, getChildren, getCustomLayout, getDefaultSortModes, getDropDownSize, getExtraView, getFilter, getFooterView, getIconColor, getIconUri, getListItemView, getLocalData, getLocalData, getPreferredListIndex, getSorts, getVisibility, isDisposed, isGetChildrenSupported, isMultiSelectSupported, isVisible, notifyListener, notifyListener, postAccept, postRefresh, refresh, refresh, refresh, refresh, requestRefresh, requestRefresh, search, setLocalData, setPostFilter, sortItems, syncRefresh, updateChildrenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVisibilityisVisibledeletepublic java.lang.String getTitle()
HierarchyListItemgetTitle in interface HierarchyListItempublic java.lang.String getDescription()
HierarchyListItem2getDescription in interface HierarchyListItem2getDescription in class AbstractHierarchyListItem2public int getDescendantCount()
HierarchyListItemgetDescendantCount in interface HierarchyListItempublic boolean isChildSupported()
HierarchyListItemisChildSupported in interface HierarchyListItemisChildSupported in class AbstractHierarchyListItem2public android.graphics.drawable.Drawable getIconDrawable()
HierarchyListItem2getIconDrawable in interface HierarchyListItem2getIconDrawable in class AbstractHierarchyListItem2public java.lang.String getAssociationKey()
HierarchyListItem2getAssociationKey in interface HierarchyListItem2getAssociationKey in class AbstractHierarchyListItem2public MissionPackageListGroup getGroup()
public MissionPackageListGroup 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 refreshImpl()
AbstractHierarchyListItem2refreshImpl in class AbstractHierarchyListItem2public boolean hideIfEmpty()
HierarchyListItem2hideIfEmpty in interface HierarchyListItem2public java.lang.String getUID()
HierarchyListItemgetUID in interface HierarchyListItemgetUID in class AbstractHierarchyListItem2public void onClick(android.view.View v)
onClick in interface android.view.View.OnClickListenerpublic android.view.View getHeaderView()
HierarchyListItem2getHeaderView in interface HierarchyListItem2getHeaderView 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 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 java.util.List<Delete> getDeleteActions()
AbstractHierarchyListItem2GroupDelete.getDeleteActions()getDeleteActions in interface GroupDeletegetDeleteActions in class AbstractHierarchyListItem2public boolean setVisible(boolean visible)
VisibilitysetVisible in interface VisibilitysetVisible in class AbstractHierarchyListItem2visible - boolean true is visible, false invisible.public java.util.Set<HierarchyListItem> find(java.lang.String terms)
find in interface Searchfind in class AbstractHierarchyListItem2