public class UserProfile extends KeyIndexedObject implements Serializable
Modifier and Type | Field and Description |
---|---|
private ImageIcon |
avatar |
private static long |
serialVersionUID |
private String |
username |
Constructor and Description |
---|
UserProfile(String key,
String username,
ImageIcon avatar) |
Modifier and Type | Method and Description |
---|---|
ImageIcon |
getAvatar() |
String |
getUsername() |
equals, getKey, hashCode
private static final long serialVersionUID
public UserProfile(String key, String username, ImageIcon avatar)
public String getUsername()