userupdateevent.java
来自「用java语言编写的日历源码」· Java 代码 · 共 33 行
JAVA
33 行
package at.ac.uni_linz.tk.vchat;
import java.io.*;
/**
* Represents a changement of a User's data.
*
* @author Arno Huetter
* (C)opyright by the Institute for Computer Science, Telecooperation Department, University of Linz
*/
public class UserUpdateEvent implements Serializable {
public User user;
public String statusString;
/**
* Constructs the UserUpdateEvent.
*
* @param userParam the User's new data
*/
public UserUpdateEvent (User userParam) {
user = (User)(userParam.clone());
statusString = "";
user.setBackAvatar(null);
for (int i = 0; i < user.getNrOfMoods(); i++)
user.setAvatar(i, null);
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?