com.aelitis.azureus.plugins.net.buddy.swt
Class BuddyPluginViewBetaChat

java.lang.Object
  extended by com.aelitis.azureus.plugins.net.buddy.swt.BuddyPluginViewBetaChat
All Implemented Interfaces:
BuddyPluginBeta.ChatListener

public class BuddyPluginViewBetaChat
extends Object
implements BuddyPluginBeta.ChatListener


Constructor Summary
protected BuddyPluginViewBetaChat(BuddyPluginView _view, BuddyPlugin _plugin, BuddyPluginBeta.ChatInstance _chat, org.eclipse.swt.widgets.Composite _parent)
           
 
Method Summary
 void activate()
           
protected  void addDisposeListener(org.eclipse.swt.events.DisposeListener listener)
           
protected  void close()
           
protected  void closed()
           
protected static void createChatWindow(BuddyPluginView view, BuddyPlugin plugin, BuddyPluginBeta.ChatInstance chat)
           
protected static void createChatWindow(BuddyPluginView view, BuddyPlugin plugin, BuddyPluginBeta.ChatInstance chat, boolean force_popout)
           
 void handleExternalDrop(String payload)
           
 void messageReceived(BuddyPluginBeta.ChatMessage message, boolean sort_outstanding)
           
 void messagesChanged()
           
 void participantAdded(BuddyPluginBeta.ChatParticipant participant)
           
 void participantChanged(BuddyPluginBeta.ChatParticipant participant)
           
 void participantRemoved(BuddyPluginBeta.ChatParticipant participant)
           
protected static String renderMessage(BuddyPluginBeta beta, BuddyPluginBeta.ChatInstance chat, BuddyPluginBeta.ChatMessage message, String original_msg, int message_type, int start, List<org.eclipse.swt.custom.StyleRange> new_ranges, org.eclipse.swt.graphics.Font info_font, org.eclipse.swt.graphics.Color info_colour, org.eclipse.swt.graphics.Font bold_font)
           
protected  void sendMessage(String text)
           
 void stateChanged(boolean avail)
           
 void updated()
           
protected  void updateTable(boolean async)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuddyPluginViewBetaChat

protected BuddyPluginViewBetaChat(BuddyPluginView _view,
                                  BuddyPlugin _plugin,
                                  BuddyPluginBeta.ChatInstance _chat,
                                  org.eclipse.swt.widgets.Composite _parent)
Method Detail

createChatWindow

protected static void createChatWindow(BuddyPluginView view,
                                       BuddyPlugin plugin,
                                       BuddyPluginBeta.ChatInstance chat)

createChatWindow

protected static void createChatWindow(BuddyPluginView view,
                                       BuddyPlugin plugin,
                                       BuddyPluginBeta.ChatInstance chat,
                                       boolean force_popout)

addDisposeListener

protected void addDisposeListener(org.eclipse.swt.events.DisposeListener listener)

updateTable

protected void updateTable(boolean async)

handleExternalDrop

public void handleExternalDrop(String payload)

close

protected void close()

closed

protected void closed()

stateChanged

public void stateChanged(boolean avail)
Specified by:
stateChanged in interface BuddyPluginBeta.ChatListener

updated

public void updated()
Specified by:
updated in interface BuddyPluginBeta.ChatListener

participantAdded

public void participantAdded(BuddyPluginBeta.ChatParticipant participant)
Specified by:
participantAdded in interface BuddyPluginBeta.ChatListener

participantChanged

public void participantChanged(BuddyPluginBeta.ChatParticipant participant)
Specified by:
participantChanged in interface BuddyPluginBeta.ChatListener

participantRemoved

public void participantRemoved(BuddyPluginBeta.ChatParticipant participant)
Specified by:
participantRemoved in interface BuddyPluginBeta.ChatListener

sendMessage

protected void sendMessage(String text)

messageReceived

public void messageReceived(BuddyPluginBeta.ChatMessage message,
                            boolean sort_outstanding)
Specified by:
messageReceived in interface BuddyPluginBeta.ChatListener

messagesChanged

public void messagesChanged()
Specified by:
messagesChanged in interface BuddyPluginBeta.ChatListener

renderMessage

protected static String renderMessage(BuddyPluginBeta beta,
                                      BuddyPluginBeta.ChatInstance chat,
                                      BuddyPluginBeta.ChatMessage message,
                                      String original_msg,
                                      int message_type,
                                      int start,
                                      List<org.eclipse.swt.custom.StyleRange> new_ranges,
                                      org.eclipse.swt.graphics.Font info_font,
                                      org.eclipse.swt.graphics.Color info_colour,
                                      org.eclipse.swt.graphics.Font bold_font)

activate

public void activate()