mirror of https://github.com/sipwise/jitsi.git
parent
8e69f6bac2
commit
f658978838
@ -1,72 +0,0 @@
|
||||
/*
|
||||
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
|
||||
*
|
||||
* Distributable under LGPL license.
|
||||
* See terms of license at gnu.org.
|
||||
*/
|
||||
|
||||
package net.java.sip.communicator.impl.gui.main;
|
||||
|
||||
import java.awt.Image;
|
||||
|
||||
import javax.swing.Icon;
|
||||
|
||||
/**
|
||||
* @author Yana Stamcheva
|
||||
*
|
||||
* The contact.
|
||||
* TODO: To be removed when the contact list service is ready.
|
||||
*/
|
||||
|
||||
public class ContactItem {
|
||||
|
||||
private String nickname;
|
||||
private Image photo;
|
||||
private String[] protocolList;
|
||||
private String status;
|
||||
private Icon userIcon;
|
||||
|
||||
public ContactItem(String nickname){
|
||||
this.nickname = nickname;
|
||||
}
|
||||
|
||||
public String getNickName() {
|
||||
return nickname;
|
||||
}
|
||||
|
||||
public void setNickName(String nickname) {
|
||||
this.nickname = nickname;
|
||||
}
|
||||
|
||||
public Image getPhoto() {
|
||||
return photo;
|
||||
}
|
||||
|
||||
public void setPhoto(Image photo) {
|
||||
this.photo = photo;
|
||||
}
|
||||
|
||||
public String[] getProtocolList() {
|
||||
return protocolList;
|
||||
}
|
||||
|
||||
public void setProtocolList(String[] protocolList) {
|
||||
this.protocolList = protocolList;
|
||||
}
|
||||
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
public Icon getUserIcon() {
|
||||
return userIcon;
|
||||
}
|
||||
|
||||
public void setUserIcon(Icon userIcon) {
|
||||
this.userIcon = userIcon;
|
||||
}
|
||||
}
|
||||
@ -1,30 +0,0 @@
|
||||
/*
|
||||
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
|
||||
*
|
||||
* Distributable under LGPL license.
|
||||
* See terms of license at gnu.org.
|
||||
*/
|
||||
|
||||
package net.java.sip.communicator.impl.gui.main;
|
||||
|
||||
import java.util.Vector;
|
||||
|
||||
/**
|
||||
* @author Yana Stamcheva
|
||||
*
|
||||
* The contact list.
|
||||
* TODO: to be removed when the contact list service is ready.
|
||||
*/
|
||||
|
||||
public class ContactList {
|
||||
|
||||
private Vector contacts = new Vector();
|
||||
|
||||
public Vector getAllContacts(){
|
||||
return contacts;
|
||||
}
|
||||
|
||||
public void addContact(ContactItem contactItem){
|
||||
contacts.add(contactItem);
|
||||
}
|
||||
}
|
||||
@ -1,27 +0,0 @@
|
||||
/*
|
||||
* SIP Communicator, the OpenSource Java VoIP and Instant Messaging client.
|
||||
*
|
||||
* Distributable under LGPL license.
|
||||
* See terms of license at gnu.org.
|
||||
*/
|
||||
|
||||
package net.java.sip.communicator.impl.gui.main;
|
||||
|
||||
public class GroupItem {
|
||||
|
||||
private String groupName;
|
||||
|
||||
public GroupItem(String groupName){
|
||||
|
||||
this.groupName = groupName;
|
||||
|
||||
}
|
||||
|
||||
public String getGroupName() {
|
||||
return groupName;
|
||||
}
|
||||
|
||||
public void setGroupName(String groupName) {
|
||||
this.groupName = groupName;
|
||||
}
|
||||
}
|
||||
Loading…
Reference in new issue