i3mclient.chatselect
Class ChatSelectGUI

java.lang.Object
  |
  +--i3mclient.chatselect.ChatSelectGUI
All Implemented Interfaces:
ChatSelectListener, ControlListener, DisposeListener, EventListener, MouseListener, org.eclipse.swt.internal.SWTEventListener

public class ChatSelectGUI
extends Object
implements ChatSelectListener, ControlListener, MouseListener, DisposeListener

The GUI of the chat selection.

Author:
Gunther Wuerz
See Also:
ChatSelect

Constructor Summary
ChatSelectGUI(Shell parentWindow, ChatSelect chatSelectSet)
          Constructor.
 
Method Summary
 void controlMoved(ControlEvent ce)
           
 void controlResized(ControlEvent ce)
           
 void joinChat(long chatID)
          Called if user clicked on a chat to join
 void mouseDoubleClick(MouseEvent arg0)
           
 void mouseDown(MouseEvent event)
           
 void mouseUp(MouseEvent arg0)
           
 void widgetDisposed(DisposeEvent arg0)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatSelectGUI

public ChatSelectGUI(Shell parentWindow,
                     ChatSelect chatSelectSet)
Constructor.

Parameters:
parentWindow - The parent window of this new chat select shell
chatSelectSet - The chat select which will be belong to this gui
Method Detail

joinChat

public void joinChat(long chatID)
Description copied from interface: ChatSelectListener
Called if user clicked on a chat to join

Specified by:
joinChat in interface ChatSelectListener
Parameters:
chatID - The chatId of the chat to join

controlMoved

public void controlMoved(ControlEvent ce)
Specified by:
controlMoved in interface ControlListener

controlResized

public void controlResized(ControlEvent ce)
Specified by:
controlResized in interface ControlListener

mouseDoubleClick

public void mouseDoubleClick(MouseEvent arg0)
Specified by:
mouseDoubleClick in interface MouseListener

mouseDown

public void mouseDown(MouseEvent event)
Specified by:
mouseDown in interface MouseListener

mouseUp

public void mouseUp(MouseEvent arg0)
Specified by:
mouseUp in interface MouseListener

widgetDisposed

public void widgetDisposed(DisposeEvent arg0)
Specified by:
widgetDisposed in interface DisposeListener