public class TadilJContact extends IndividualContact
Contact.UpdateStatusHierarchyListItem.ComparatorSort, HierarchyListItem.Sort, HierarchyListItem.SortAlphabet, HierarchyListItem.SortAlphabetDesc, HierarchyListItem.SortDistanceFrom| Modifier and Type | Field and Description |
|---|---|
static NetConnectString |
DEFAULT_CHAT_NCS |
static NetConnectString |
DEFAULT_POINT_NCS |
static java.lang.String |
TAG |
connectors, DEFAULT_CONNECTORBACKGROUND_COLOR_ALIVE, BACKGROUND_COLOR_DEAD, BACKGROUND_COLOR_NA, BACKGROUND_COLOR_STALE, contactUUID, FOREGROUND_COLOR_ALIVE, FOREGROUND_COLOR_DEAD, FOREGROUND_COLOR_STALEasyncRefresh, children, disposed, filter, listener, postFilter, reusable, uiHandler| Constructor and Description |
|---|
TadilJContact(java.lang.String name,
java.lang.String uuid) |
TadilJContact(java.lang.String name,
java.lang.String uuid,
boolean enabled) |
TadilJContact(java.lang.String name,
java.lang.String uuid,
boolean enabled,
IpConnector pointConn) |
TadilJContact(java.lang.String name,
java.lang.String uuid,
boolean enabled,
IpConnector pointConn,
Connector chatConn) |
| Modifier and Type | Method and Description |
|---|---|
Connector |
getDefaultConnector(android.content.SharedPreferences prefs)
Get the default connector for this contact, in this order:
1) Check if only a single connector available, if so use it
2) Last user selected connector
3) Use highest priority connector available
|
android.graphics.drawable.Drawable |
getIconDrawable()
Get the icon drawable
|
java.lang.String |
getParentUID()
Return the UID of this contact's parent
For individual contacts this is "Root"
|
boolean |
isEnabled() |
void |
setEnabled(boolean newValue) |
static void |
updateChatConnector(NetConnectString string,
TadilJContactDatabase db) |
addConnector, current, die, findChildPaths, getBackgroundColor, getConnector, getConnectors, getDefaultAvatar, getDefaultProfile, getFiltered, getHierarchyPath, getIconColor, getIconUri, getMapItem, getPresenceColor, getPresenceColor, getServerFrom, getUnreadCount, getUnreadCount, hasConnector, hasLocation, hasProfile, hideIfEmpty, isChildSupported, isVisible, onSelected, refreshImpl, removeConnector, setMapItem, setName, setParentUID, stale, toString, zoomdescendedFrom, dispatchChangeEvent, dispose, getAction, getChildContacts, getDescendantCount, getExtras, getExtraView, getFilteredUIDs, getName, getParent, getParentContacts, getParentHierarchy, getTextColor, getTitle, getUID, getUpdateStatus, getUserObject, notifyListener, refresh, refresh, setDispatch, setExtras, setListener, setUid, setUnreadCount, setUpdateStatus, updateChildren, validChildasync, buildQueryParams, delete, disposeChildren, disposeItems, find, findChild, getAssociationKey, getChildActions, getChildAt, getChildCount, getChildren, getCustomLayout, getDefaultSortModes, getDeleteActions, getDescription, getDropDownSize, getExtraView, getFilter, getFooterView, getHeaderView, getListItemView, getLocalData, getLocalData, getPreferredListIndex, getSorts, getVisibility, isDisposed, isGetChildrenSupported, isMultiSelectSupported, notifyListener, postAccept, postRefresh, refresh, refresh, refresh, requestRefresh, requestRefresh, search, setLocalData, setPostFilter, setVisible, sortItems, syncRefreshpublic static final java.lang.String TAG
public static final NetConnectString DEFAULT_CHAT_NCS
public static final NetConnectString DEFAULT_POINT_NCS
public TadilJContact(java.lang.String name,
java.lang.String uuid)
public TadilJContact(java.lang.String name,
java.lang.String uuid,
boolean enabled)
public TadilJContact(java.lang.String name,
java.lang.String uuid,
boolean enabled,
IpConnector pointConn)
public TadilJContact(java.lang.String name,
java.lang.String uuid,
boolean enabled,
IpConnector pointConn,
Connector chatConn)
public static void updateChatConnector(NetConnectString string,
TadilJContactDatabase db)
public boolean isEnabled()
public void setEnabled(boolean newValue)
public android.graphics.drawable.Drawable getIconDrawable()
HierarchyListItem2getIconDrawable in interface HierarchyListItem2getIconDrawable in class AbstractHierarchyListItem2public Connector getDefaultConnector(android.content.SharedPreferences prefs)
IndividualContactgetDefaultConnector in class IndividualContactpublic java.lang.String getParentUID()
ContactgetParentUID in class IndividualContact