org.olat.instantMessaging.groupchat
Class InstantMessagingGroupChatController
java.lang.Object
org.olat.core.gui.control.DefaultController
org.olat.core.gui.control.controller.BasicController
org.olat.instantMessaging.groupchat.InstantMessagingGroupChatController
- All Implemented Interfaces:
- Controller, ControllerEventListener, Disposable, GenericEventListener
public class InstantMessagingGroupChatController
- extends BasicController
- implements GenericEventListener
Description:
Handles an group chat in an floating window with all events like receiving messages, sending messages and updating an roster with all joined users
There are several options how to display or start the chat as it gets used in different places
Initial Date: 13.03.2007
- Author:
- guido
| Methods inherited from class org.olat.core.gui.control.DefaultController |
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, dispose, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
InstantMessagingGroupChatController
public InstantMessagingGroupChatController(UserRequest ureq,
WindowControl wControl,
OLATResourceable ores,
java.lang.String roomName,
Panel chatWindowHolder,
boolean compact,
boolean anonymousInChatroom,
boolean lazyCreation)
- Parameters:
ureq - wControl - ores - roomName - fixcsspanel - if you want the panel rendered somewhere else to solve css issues add it here otherwise nulllazyCreation - if true the user does not get joined automatically to the chatRoom
event
public void event(UserRequest ureq,
Component source,
Event event)
- Description copied from class:
DefaultController
- abstract event method for subclasses. the event received from the component
we are listening to are always rerouted to this method here, except when
the component has been disposed, in which case the events are simply
ignored.
- See Also:
DefaultController.event(org.olat.core.gui.UserRequest,
org.olat.core.gui.components.Component,
org.olat.core.gui.control.Event)
isChatWindowOpen
public boolean isChatWindowOpen()
- Returns:
- true if the chat window is openend by the user
used by velocity
event
public void event(Event event)
- Specified by:
event in interface GenericEventListener