public class FeatureEditListUserSelect extends HierarchyListUserSelect
HierarchyListUserSelect.ButtonMode
_multiSelect, _tag, actions, COMP_TITLE, mapItemUIDs
sort
Constructor and Description |
---|
FeatureEditListUserSelect(MapView mapView) |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(HierarchyListItem item)
Return true if item should be displayed, otherwise item will be hidden
|
boolean |
acceptEntry(HierarchyListItem item)
Test to allow user to enter this item's sub-list
|
boolean |
acceptRootList()
Whether to show this select handler as a multi-select option when the
user is on the root list of Overlay Manager.
|
HierarchyListUserSelect.ButtonMode |
getButtonMode()
Get Button Mode for the user select handler
|
java.lang.String |
getButtonText()
Provide text for button once item(s) are selected
|
android.graphics.drawable.Drawable |
getIcon()
Get the icon representing this selector - used externally
|
java.lang.String |
getTitle()
Provide title for HierarchyListReceiver Drop Down
|
boolean |
isExternalUsageSupported()
Whether or not this selector can be used externally by other tools
If this selector is only used for a specific workflow then leave this as false
Otherwise if you want the selector to show up under Overlay Manager > Multi Select, return true
|
boolean |
processUserSelections(android.content.Context context,
java.util.Set<HierarchyListItem> items)
Process the user selections.
|
cancel, filterGroup, filterItem, filterListItemImpl, filterOverlay, getActions, getChildCount, getDescendantCount, getFilter, getTag, getToolbar, isMultiSelect, onItemDeselected, onItemSelected, setMapItemUIDs, setMultiSelect, setTag
isDefaultFilter, toString
public FeatureEditListUserSelect(MapView mapView)
public java.lang.String getTitle()
HierarchyListUserSelect
getTitle
in class HierarchyListUserSelect
public android.graphics.drawable.Drawable getIcon()
HierarchyListUserSelect
getIcon
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 boolean accept(HierarchyListItem item)
HierarchyListUserSelect
accept
in class HierarchyListUserSelect
item
- Item to run filter onpublic boolean acceptEntry(HierarchyListItem item)
HierarchyListFilter
acceptEntry
in class HierarchyListUserSelect
item
- List itempublic boolean isExternalUsageSupported()
HierarchyListUserSelect
isExternalUsageSupported
in class HierarchyListUserSelect
public boolean acceptRootList()
HierarchyListUserSelect
HierarchyListUserSelect.isExternalUsageSupported()
is
set to true
.acceptRootList
in class HierarchyListUserSelect
public boolean processUserSelections(android.content.Context context, java.util.Set<HierarchyListItem> items)
HierarchyListUserSelect
processUserSelections
in class HierarchyListUserSelect
context
- Application contextitems
- Set of selected list items