コード例 #1
0
ファイル: MetaUIContact.java プロジェクト: richardwhiuk/jitsi
 /**
  * Returns the index of the underlying <tt>MetaContact</tt> in its <tt>MetaContactListService</tt>
  * parent group.
  *
  * @return the source index of the underlying <tt>MetaContact</tt>
  */
 public int getSourceIndex() {
   MetaContactGroup parentMetaContactGroup = metaContact.getParentMetaContactGroup();
   if (parentMetaContactGroup == null) return -1;
   return parentMetaContactGroup.indexOf(metaContact);
 }