net.java.sip.communicator.impl.gui
Class DefaultContactEventHandler.RunMessageWindow
java.lang.Object
net.java.sip.communicator.impl.gui.DefaultContactEventHandler.RunMessageWindow
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- DefaultContactEventHandler
public static class DefaultContactEventHandler.RunMessageWindow
- extends Object
- implements Runnable
Runs the chat window for the specified contact. We examine different
cases here, depending on the chat window mode.
In mode "Open messages in new window" a new window is opened for the
given MetaContact if there's no opened window for it,
otherwise the existing chat window is made visible and focused.
In mode "Group messages in one chat window" a JTabbedPane is used to show
chats for different contacts in ona window. A new tab is opened for the
given MetaContact if there's no opened tab for it, otherwise
the existing chat tab is selected and focused.
- Author:
- Yana Stamcheva
|
Method Summary |
void |
run()
Opens a chat window |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultContactEventHandler.RunMessageWindow
public DefaultContactEventHandler.RunMessageWindow(MetaContact metaContact,
Contact protocolContact)
- Creates a chat window
- Parameters:
metaContact - protocolContact -
run
public void run()
- Opens a chat window
- Specified by:
run in interface Runnable
Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.