public class ServerGroupHierarchyListItem extends AbstractChildlessListItem implements Visibility, ItemClick
HierarchyListItem.ComparatorSort, HierarchyListItem.Sort, HierarchyListItem.SortAlphabet, HierarchyListItem.SortAlphabetDesc, HierarchyListItem.SortDistanceFromasyncRefresh, children, disposed, filter, listener, postFilter, reusable, uiHandler| Constructor and Description |
|---|
ServerGroupHierarchyListItem(java.lang.String server,
ServerGroup serverGroup,
ChannelsOverlay channelsOverlay,
android.content.Context context) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Get the item description (shown in gray under the title)
|
java.lang.String |
getIconUri()
Returns the URI for the icon for the node.
|
java.lang.String |
getTitle()
Returns the title to be displayed for the item.
|
ServerGroup |
getUserObject()
Returns the user object associated with the node.
|
boolean |
isVisible()
Gets the current visibility state.
|
boolean |
onClick() |
boolean |
onLongClick() |
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, getIconDrawable, getListItemView, getLocalData, getLocalData, getPreferredListIndex, getSorts, getUID, isDisposed, isGetChildrenSupported, isMultiSelectSupported, notifyListener, notifyListener, postAccept, postRefresh, refresh, refresh, refresh, requestRefresh, requestRefresh, search, setLocalData, setPostFilter, sortItems, syncRefresh, updateChildrenpublic ServerGroupHierarchyListItem(java.lang.String server,
ServerGroup serverGroup,
ChannelsOverlay channelsOverlay,
android.content.Context context)
public java.lang.String getTitle()
HierarchyListItemgetTitle in interface HierarchyListItempublic java.lang.String getDescription()
HierarchyListItem2getDescription in interface HierarchyListItem2getDescription in class AbstractHierarchyListItem2public ServerGroup getUserObject()
HierarchyListItemgetUserObject in interface HierarchyListItemnull.public java.lang.String getIconUri()
HierarchyListItemgetIconUri in interface HierarchyListItemgetIconUri in class AbstractHierarchyListItem2null if the node
has no icon, or "gone" to remove the icon space entirely.public boolean isVisible()
VisibilityisVisible in interface VisibilityisVisible in class AbstractChildlessListItempublic boolean setVisible(boolean visible)
VisibilitysetVisible in interface VisibilitysetVisible in class AbstractHierarchyListItem2visible - boolean true is visible, false invisible.public boolean onLongClick()
onLongClick in interface ItemClick