com.valhalla.jbother.groupchat
Class SubjectListener

java.lang.Object
  extended by com.valhalla.jbother.groupchat.SubjectListener
All Implemented Interfaces:
org.jivesoftware.smackx.muc.SubjectUpdatedListener

public class SubjectListener
extends java.lang.Object
implements org.jivesoftware.smackx.muc.SubjectUpdatedListener

Listens for subject changes in a room

Version:
1.0
Author:
Adam Olsen

Constructor Summary
SubjectListener(ChatRoomPanel window)
          Sets up the group chat subject listener
 
Method Summary
 void subjectUpdated(java.lang.String subject, java.lang.String from)
          Processes the packet
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubjectListener

public SubjectListener(ChatRoomPanel window)
Sets up the group chat subject listener

Parameters:
window - the window that this litener belongs to
Method Detail

subjectUpdated

public void subjectUpdated(java.lang.String subject,
                           java.lang.String from)
Processes the packet

Specified by:
subjectUpdated in interface org.jivesoftware.smackx.muc.SubjectUpdatedListener