⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 roomupdateevent.java

📁 isual Chat 1.91 Developer Edition - Customize the Visual Chat code regarding your own requirement
💻 JAVA
字号:
package at.ac.uni_linz.tk.vchat;

import java.io.*;


/**
 * Represents an update of a Room.
 *
 * @author      Arno Huetter
 * (C)opyright by the Institute for Computer Science, Telecooperation Department, University of Linz
 */

public class RoomUpdateEvent extends RoomEvent {

  Room room;


/**
 * Constructs the RoomUpdateEvent.
 *
 * @param roomParam      the Room's new data
 */

  public RoomUpdateEvent (Room roomParam) {
    super(roomParam.getId());
    room = (Room)(roomParam.clone());
  }

/**
 * Constructs the RoomUpdateEvent.
 *
 * @param roomIdParam      the Rooms's id
 */

  public RoomUpdateEvent (int roomIdParam) {
    this(new Room(roomIdParam, "", ChatRepository.ROOM_DIMENSION));
  }

}

⌨️ 快捷键说明

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