Jitsi: the OpenSource Java VoIP and Instant Messaging client.

net.java.sip.communicator.plugin.spellcheck
Class ChatAttachments

java.lang.Object
  extended by net.java.sip.communicator.plugin.spellcheck.ChatAttachments

 class ChatAttachments
extends Object

Wrapper for handling the multiple listeners associated with chats for the spell checker.

Author:
Damian Johnson, Purvesh Sahoo

Field Summary
 Chat chat
           
 
Constructor Summary
ChatAttachments(Chat chat, org.dts.spell.dictionary.SpellDictionary dict)
           
 
Method Summary
(package private)  void attachListeners()
          Attaches spell checker capabilities the associated chat.
(package private)  void detachListeners()
          Removes spell checker listeners from the associated chat.
 boolean equals(Object obj)
           
 int hashCode()
           
(package private)  boolean isEnabled()
           
(package private)  void setDictionary(org.dts.spell.dictionary.SpellDictionary dict)
           
(package private)  void setEnabled(boolean enable)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

chat

public final Chat chat
Constructor Detail

ChatAttachments

public ChatAttachments(Chat chat,
                       org.dts.spell.dictionary.SpellDictionary dict)
Method Detail

attachListeners

void attachListeners()
Attaches spell checker capabilities the associated chat.


detachListeners

void detachListeners()
Removes spell checker listeners from the associated chat.


isEnabled

boolean isEnabled()

setEnabled

void setEnabled(boolean enable)

setDictionary

void setDictionary(org.dts.spell.dictionary.SpellDictionary dict)

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

Jitsi: the OpenSource Java VoIP and Instant Messaging client.

Jitsi, the OpenSource Java VoIP and Instant Messaging client.
Distributable under LGPL license.