com.lyrisoft.chat.client.gui
Interface IChatClientInputReceiver

All Known Implementing Classes:
Client

public interface IChatClientInputReceiver

An interface that objects implement when they want to receive input from some part of the GUI (like when the user types something)


Method Summary
 void inputEvent(java.lang.String room, java.lang.String txt)
          Called by the GUI when the user types something.
 void loginCancelEvent()
           
 void loginEvent(java.lang.String username, java.lang.String password)
          Called by the login component, when the user has entered a username and password
 void userDoubleClick(java.lang.String user)
          Callback when a user is double-clicked
 

Method Detail

inputEvent

public void inputEvent(java.lang.String room,
                       java.lang.String txt)
Called by the GUI when the user types something.
Parameters:
room - the name of the room the message was typed in
txt - what the user typed

loginEvent

public void loginEvent(java.lang.String username,
                       java.lang.String password)
Called by the login component, when the user has entered a username and password

loginCancelEvent

public void loginCancelEvent()

userDoubleClick

public void userDoubleClick(java.lang.String user)
Callback when a user is double-clicked


Copyright © 2000-2002 Taso Lyristis