public class ServerGroupHierarchyListItem extends AbstractChildlessListItem implements Visibility, ItemClick
HierarchyListItem.ComparatorSort, HierarchyListItem.Sort, HierarchyListItem.SortAlphabet, HierarchyListItem.SortAlphabetDesc, HierarchyListItem.SortDistanceFrom
asyncRefresh, 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, refreshImpl
async, 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, updateChildren
public ServerGroupHierarchyListItem(java.lang.String server, ServerGroup serverGroup, ChannelsOverlay channelsOverlay, android.content.Context context)
public java.lang.String getTitle()
HierarchyListItem
getTitle
in interface HierarchyListItem
public java.lang.String getDescription()
HierarchyListItem2
getDescription
in interface HierarchyListItem2
getDescription
in class AbstractHierarchyListItem2
public ServerGroup getUserObject()
HierarchyListItem
getUserObject
in interface HierarchyListItem
null
.public java.lang.String getIconUri()
HierarchyListItem
getIconUri
in interface HierarchyListItem
getIconUri
in class AbstractHierarchyListItem2
null
if the node
has no icon, or "gone" to remove the icon space entirely.public boolean isVisible()
Visibility
isVisible
in interface Visibility
isVisible
in class AbstractChildlessListItem
public boolean setVisible(boolean visible)
Visibility
setVisible
in interface Visibility
setVisible
in class AbstractHierarchyListItem2
visible
- boolean true is visible, false invisible.public boolean onLongClick()
onLongClick
in interface ItemClick