public class HierarchyListUserDelete extends AsyncListUserSelect
HierarchyListUserSelect.ButtonMode
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
_multiSelect, _tag, actions, COMP_TITLE, mapItemUIDs
sort
Constructor and Description |
---|
HierarchyListUserDelete() |
Modifier and Type | Method and Description |
---|---|
boolean |
acceptEntry(HierarchyListItem item)
Test to allow user to enter this item's sub-list
|
protected boolean |
filterGroup(MapGroup group)
Default impl filters out if group has no items in mapItemUIDs
If mapItemsUIDs is empty, does not filter
|
protected boolean |
filterItem(MapItem item)
Default impl filters out if item is not in mapItemUIDs
If mapItemsUIDs is empty, does not filter
|
protected boolean |
filterListItemImpl(HierarchyListItem item)
Default impl filters out misc list items (not MapItem, MapGroup, MapOverlay)
|
protected boolean |
filterOverlay(MapOverlay overlay)
Default impl filters out if it is a FilterMapOverlay, and it has no unfiltered children
|
HierarchyListUserSelect.ButtonMode |
getButtonMode()
Get Button Mode for the user select handler
|
java.lang.String |
getButtonText()
Provide text for button once item(s) are selected
|
java.lang.String |
getTitle()
Provide title for HierarchyListReceiver Drop Down
|
void |
processUserSelections(android.content.Context context,
java.util.Set<HierarchyListItem> selected,
java.lang.Runnable onFinished)
Process user selections with a runnable callback
|
void |
setCloseHierarchyWhenComplete(boolean b) |
processUserSelections
accept, acceptRootList, cancel, getActions, getChildCount, getDescendantCount, getFilter, getIcon, getTag, getToolbar, isExternalUsageSupported, isMultiSelect, onItemDeselected, onItemSelected, setMapItemUIDs, setMultiSelect, setTag
isDefaultFilter, toString
public static final java.lang.String TAG
public void setCloseHierarchyWhenComplete(boolean b)
public java.lang.String getTitle()
HierarchyListUserSelect
getTitle
in class HierarchyListUserSelect
public java.lang.String getButtonText()
HierarchyListUserSelect
getButtonText
in class HierarchyListUserSelect
public HierarchyListUserSelect.ButtonMode getButtonMode()
HierarchyListUserSelect
getButtonMode
in class HierarchyListUserSelect
HierarchyListUserSelect.ButtonMode.ALWAYS_VISIBLE
or HierarchyListUserSelect.ButtonMode.VISIBLE_WHEN_SELECTED
public void processUserSelections(android.content.Context context, java.util.Set<HierarchyListItem> selected, java.lang.Runnable onFinished)
AsyncListUserSelect
processUserSelections
in class AsyncListUserSelect
context
- Map view contextselected
- Selected itemsonFinished
- Callback that should be run after the async task
(or method, if cancelled) is finishedprotected boolean filterOverlay(MapOverlay overlay)
HierarchyListUserSelect
filterOverlay
in class HierarchyListUserSelect
protected boolean filterGroup(MapGroup group)
HierarchyListUserSelect
filterGroup
in class HierarchyListUserSelect
protected boolean filterItem(MapItem item)
HierarchyListUserSelect
filterItem
in class HierarchyListUserSelect
protected boolean filterListItemImpl(HierarchyListItem item)
HierarchyListUserSelect
filterListItemImpl
in class HierarchyListUserSelect
public boolean acceptEntry(HierarchyListItem item)
HierarchyListFilter
acceptEntry
in class HierarchyListUserSelect
item
- List item