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