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

📄 ichatroom.java

📁 piweurrrrq i o fhsadhfka fd dskajc zxkjcnkjsahc
💻 JAVA
字号:
/* * Copyright (c) 2000 Lyrisoft Solutions, Inc. * Used by permission */package com.lyrisoft.chat.client.gui;/** * Interface for a ChatRoom GUI component. * This thing usually has: * <ul> * <li>A text area widget where the banter in the room is displayed * <li>A list widget that shows the users in this room * <li>An input field where the user can type his messages/commands * </ul> */public interface IChatRoom extends IMessageWindow {    /**     * Set the users in the user list widget     */    public void setUserList(String[] users);    /**     * Indicates that a user just joined this room.  The user list widget show be updated,     * and a message should be printed to the screen     */    public void userJoinedRoom(String user);    /**     * Indicates that a user just parted this room.  The user list widget show be updated,     * and a message should be printed to the screen     */    public void userPartedRoom(String user, boolean signoff);    /**     * Get the name of this chat room     */    public String getName();    /**     * Make this thing visible on the screen.  Note: It's safer to use IChatGUIFactory.show()     * instead.     * @see IChatGUIFactory#show(IChatRoom room)     */    public void show();    /**     * Make this thing invisible on the screen.  Note: It's safer to use IChatGUIFactory.show()     * instead.     * @see IChatGUIFactory#hide(IChatRoom room)     */    public void hide();}

⌨️ 快捷键说明

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