com.lyrisoft.chat.client.gui
Interface IChatRoom

All Superinterfaces:
IMessageWindow
All Known Implementing Classes:
ChatPanel, ChatPanel, ChatRoom

public interface IChatRoom
extends IMessageWindow

Interface for a ChatRoom GUI component. This thing usually has:


Method Summary
 java.lang.String getName()
          Get the name of this chat room
 void hide()
          Make this thing invisible on the screen.
 void setUserList(java.lang.String[] users)
          Set the users in the user list widget
 void show()
          Make this thing visible on the screen.
 void userJoinedRoom(java.lang.String user)
          Indicates that a user just joined this room.
 void userPartedRoom(java.lang.String user, boolean signoff)
          Indicates that a user just parted this room.
 
Methods inherited from interface com.lyrisoft.chat.client.gui.IMessageWindow
displayError, displayMessage, displayMessage, displayPrivateEmote, displayPrivateMessage
 

Method Detail

setUserList

public void setUserList(java.lang.String[] users)
Set the users in the user list widget

userJoinedRoom

public void userJoinedRoom(java.lang.String user)
Indicates that a user just joined this room. The user list widget show be updated, and a message should be printed to the screen

userPartedRoom

public void userPartedRoom(java.lang.String user,
                           boolean signoff)
Indicates that a user just parted this room. The user list widget show be updated, and a message should be printed to the screen

getName

public java.lang.String getName()
Get the name of this chat room

show

public void show()
Make this thing visible on the screen. Note: It's safer to use IChatGUIFactory.show() instead.
See Also:
IChatGUIFactory.show(IChatRoom room)

hide

public void hide()
Make this thing invisible on the screen. Note: It's safer to use IChatGUIFactory.show() instead.
See Also:
IChatGUIFactory.hide(IChatRoom room)


Copyright © 2000-2002 Taso Lyristis