com.aelitis.azureus.plugins.net.buddy.swt
Class BuddyPluginViewBetaChat
java.lang.Object
com.aelitis.azureus.plugins.net.buddy.swt.BuddyPluginViewBetaChat
- All Implemented Interfaces:
- BuddyPluginBeta.ChatListener
public class BuddyPluginViewBetaChat
- extends java.lang.Object
- implements BuddyPluginBeta.ChatListener
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(java.lang.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 java.lang.String |
renderMessage(BuddyPluginBeta beta,
BuddyPluginBeta.ChatInstance chat,
BuddyPluginBeta.ChatMessage message,
java.lang.String original_msg,
int message_type,
int start,
java.util.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(java.lang.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 |
BuddyPluginViewBetaChat
protected BuddyPluginViewBetaChat(BuddyPluginView _view,
BuddyPlugin _plugin,
BuddyPluginBeta.ChatInstance _chat,
org.eclipse.swt.widgets.Composite _parent)
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(java.lang.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(java.lang.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 java.lang.String renderMessage(BuddyPluginBeta beta,
BuddyPluginBeta.ChatInstance chat,
BuddyPluginBeta.ChatMessage message,
java.lang.String original_msg,
int message_type,
int start,
java.util.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()