usermoodevent.java

来自「用java语言编写的日历源码」· Java 代码 · 共 30 行

JAVA
30
字号
package at.ac.uni_linz.tk.vchat;

import java.io.*;


/**
 * Represents a changement of a User's mood.
 *
 * @author      Arno Huetter
 * (C)opyright by the Institute for Computer Science, Telecooperation Department, University of Linz
 */

public class UserMoodEvent extends UserEvent implements Serializable {

  public int userMood;


/**
 * Constructs the UserMoodEvent.
 *
 * @param idParam        the id of the User producing the Event
 * @param moodParam      the new mood
 */

  public UserMoodEvent (int idParam, int moodParam) {
    super(idParam);
    userMood = moodParam;
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?