public class LollipopListItem extends AbstractChildlessListItem implements android.content.SharedPreferences.OnSharedPreferenceChangeListener, Visibility
HierarchyListItem.ComparatorSort, HierarchyListItem.Sort, HierarchyListItem.SortAlphabet, HierarchyListItem.SortAlphabetDesc, HierarchyListItem.SortDistanceFromasyncRefresh, children, disposed, filter, listener, postFilter, reusable, uiHandler| Constructor and Description |
|---|
LollipopListItem(MapView mapView) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Get the item description (shown in gray under the title)
|
android.graphics.drawable.Drawable |
getIconDrawable()
Get the icon drawable
|
boolean |
getLollipopsVisible() |
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
|
java.lang.Object |
getUserObject()
Returns the user object associated with the node.
|
boolean |
isVisible()
Gets the current visibility state.
|
void |
onSharedPreferenceChanged(android.content.SharedPreferences p,
java.lang.String key) |
void |
setLollipopsVisible(boolean v) |
boolean |
setVisible(boolean visible)
Encapsulation of the visibility toggle implementation as an action.
|
dispose, getChildAt, getChildCount, getDescendantCount, getVisibility, hideIfEmpty, isChildSupported, refresh, refreshImplasync, buildQueryParams, delete, disposeChildren, disposeItems, find, findChild, getAction, getAssociationKey, getChildActions, getChildren, getCustomLayout, getDefaultSortModes, getDeleteActions, getDropDownSize, getExtraView, getExtraView, getFilter, getFooterView, getHeaderView, getIconColor, getIconUri, getListItemView, getLocalData, getLocalData, getPreferredListIndex, getSorts, isDisposed, isGetChildrenSupported, isMultiSelectSupported, notifyListener, notifyListener, postAccept, postRefresh, refresh, refresh, refresh, requestRefresh, requestRefresh, search, setLocalData, setPostFilter, sortItems, syncRefresh, updateChildrenpublic LollipopListItem(MapView mapView)
public boolean getLollipopsVisible()
public void setLollipopsVisible(boolean v)
public java.lang.String getTitle()
HierarchyListItemgetTitle in interface HierarchyListItempublic java.lang.String getDescription()
HierarchyListItem2getDescription in interface HierarchyListItem2getDescription in class AbstractHierarchyListItem2public java.lang.String getUID()
HierarchyListItemgetUID in interface HierarchyListItemgetUID in class AbstractHierarchyListItem2public android.graphics.drawable.Drawable getIconDrawable()
HierarchyListItem2getIconDrawable in interface HierarchyListItem2getIconDrawable in class AbstractHierarchyListItem2public java.lang.Object getUserObject()
HierarchyListItemgetUserObject in interface HierarchyListItemnull.public boolean setVisible(boolean visible)
VisibilitysetVisible in interface VisibilitysetVisible in class AbstractHierarchyListItem2visible - boolean true is visible, false invisible.public boolean isVisible()
VisibilityisVisible in interface VisibilityisVisible in class AbstractChildlessListItempublic void onSharedPreferenceChanged(android.content.SharedPreferences p,
java.lang.String key)
onSharedPreferenceChanged in interface android.content.SharedPreferences.OnSharedPreferenceChangeListener