userroomevent.java
来自「用java语言编写的日历源码」· Java 代码 · 共 33 行
JAVA
33 行
package at.ac.uni_linz.tk.vchat;
import java.io.*;
import java.awt.*;
/**
* Represents a changement of the Room a User is currently in.
*
* @author Arno Huetter
* (C)opyright by the Institute for Computer Science, Telecooperation Department, University of Linz
*/
public class UserRoomEvent extends UserEvent implements Serializable {
public int roomId;
public Point position;
/**
* Constructs the UserRoomEvent.
*
* @param userIdParam the Id of the User producing the Event
* @param roomIdParam the Id of the new Room
*/
public UserRoomEvent (int userIdParam, int roomIdParam, Point positionParam) {
super(userIdParam);
roomId = roomIdParam;
position = positionParam;
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?