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

📄 roomcreateevent.java

📁 打包
💻 JAVA
字号:
package at.ac.uni_linz.tk.vchat;

import java.io.*;


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

public class RoomCreateEvent extends RoomEvent {

  public Room room;


/**
 * Constructs the RoomCreateEvent.
 *
 * @param userParam      the User's new data
 */

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

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

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

}

⌨️ 快捷键说明

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