|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JScrollPane
net.java.sip.communicator.impl.gui.customcontrols.SCScrollPane
net.java.sip.communicator.impl.gui.main.contactlist.ContactListPane
public class ContactListPane
The contactlist panel not only contains the contact list but it has the role of a message dispatcher. It process all sent and received messages as well as all typing notifications. Here are managed all contact list mouse events.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class javax.swing.JScrollPane |
|---|
JScrollPane.AccessibleJScrollPane, JScrollPane.ScrollBar |
| Nested classes/interfaces inherited from class javax.swing.JComponent |
|---|
JComponent.AccessibleJComponent |
| Nested classes/interfaces inherited from class java.awt.Container |
|---|
Container.AccessibleAWTContainer |
| Nested classes/interfaces inherited from class java.awt.Component |
|---|
Component.AccessibleAWTComponent, Component.BaselineResizeBehavior, Component.BltBufferStrategy, Component.FlipBufferStrategy |
| Field Summary |
|---|
| Fields inherited from class javax.swing.JScrollPane |
|---|
columnHeader, horizontalScrollBar, horizontalScrollBarPolicy, lowerLeft, lowerRight, rowHeader, upperLeft, upperRight, verticalScrollBar, verticalScrollBarPolicy, viewport |
| Fields inherited from class javax.swing.JComponent |
|---|
accessibleContext, listenerList, TOOL_TIP_TEXT_KEY, ui, UNDEFINED_CONDITION, WHEN_ANCESTOR_OF_FOCUSED_COMPONENT, WHEN_FOCUSED, WHEN_IN_FOCUSED_WINDOW |
| Fields inherited from class java.awt.Component |
|---|
BOTTOM_ALIGNMENT, CENTER_ALIGNMENT, LEFT_ALIGNMENT, RIGHT_ALIGNMENT, TOP_ALIGNMENT |
| Fields inherited from interface java.awt.image.ImageObserver |
|---|
ABORT, ALLBITS, ERROR, FRAMEBITS, HEIGHT, PROPERTIES, SOMEBITS, WIDTH |
| Constructor Summary | |
|---|---|
ContactListPane(MainFrame mainFrame)
Creates the contactlist scroll panel defining the parent frame. |
|
| Method Summary | |
|---|---|
void |
contactClicked(ContactListEvent evt)
Implements the ContactListListener.contactSelected method. |
void |
fileTransferCreated(FileTransferCreatedEvent event)
Nothing to do here, because we already know when a file transfer is created. |
void |
fileTransferRequestCanceled(FileTransferRequestEvent event)
Called when an IncomingFileTransferRequest has been canceled from the contact who sent it. |
void |
fileTransferRequestReceived(FileTransferRequestEvent event)
When a request has been received we show it to the user through the chat session renderer. |
void |
fileTransferRequestRejected(FileTransferRequestEvent event)
Called when a new IncomingFileTransferRequest has been rejected. |
CommonRightButtonMenu |
getCommonRightButtonMenu()
Returns the right button menu of the contact list. |
TreeContactList |
getContactList()
Returns the contact list. |
void |
groupClicked(ContactListEvent evt)
Implements the ContactListListener.groupSelected method. |
void |
initList(MetaContactListService contactListService)
Initializes the contact list. |
void |
messageDelivered(MessageDeliveredEvent evt)
When a sent message is delivered shows it in the chat conversation panel. |
void |
messageDeliveryFailed(MessageDeliveryFailedEvent evt)
Shows a warning message to the user when message delivery has failed. |
void |
messageReceived(MessageReceivedEvent evt)
When a message is received determines whether to open a new chat window or chat window tab, or to indicate that a message is received from a contact which already has an open chat. |
void |
pluginComponentAdded(PluginComponentEvent event)
Adds the plugin component given by event to this panel if it's its container. |
void |
pluginComponentRemoved(PluginComponentEvent event)
Removes the plugin component given by event if previously added in this panel. |
void |
typingNotificationReceived(TypingNotificationEvent evt)
Informs the user what is the typing state of his chat contacts. |
| Methods inherited from class net.java.sip.communicator.impl.gui.customcontrols.SCScrollPane |
|---|
dispose, loadSkin, setViewportView |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ContactListPane(MainFrame mainFrame)
mainFrame - The parent frame.| Method Detail |
|---|
public void initList(MetaContactListService contactListService)
contactListService - The MetaContactListService which will be used
for a contact list data model.public TreeContactList getContactList()
public void contactClicked(ContactListEvent evt)
contactClicked in interface ContactListListenerevt - the ContactListEvent that notified uspublic void groupClicked(ContactListEvent evt)
groupClicked in interface ContactListListenerevt - the ContactListEvent that notified uspublic void messageReceived(MessageReceivedEvent evt)
messageReceived in interface MessageListenerevt - the event containing details on the received messagepublic void messageDelivered(MessageDeliveredEvent evt)
messageDelivered in interface MessageListenerevt - the event containing details on the message deliverypublic void messageDeliveryFailed(MessageDeliveryFailedEvent evt)
messageDeliveryFailed in interface MessageListenerevt - the event containing details on the message delivery failurepublic void typingNotificationReceived(TypingNotificationEvent evt)
typingNotificationReceived in interface TypingNotificationsListenerevt - the event containing details on the typing notificationpublic void fileTransferRequestReceived(FileTransferRequestEvent event)
fileTransferRequestReceived in interface FileTransferListenerevent - FileTransferRequestEventFileTransferListener.fileTransferRequestReceived(FileTransferRequestEvent)public void fileTransferCreated(FileTransferCreatedEvent event)
fileTransferCreated in interface FileTransferListenerevent - the FileTransferCreatedEvent that notified uspublic void fileTransferRequestRejected(FileTransferRequestEvent event)
fileTransferRequestRejected in interface FileTransferListenerevent - the FileTransferRequestEvent containing the
received request which was rejected.public void fileTransferRequestCanceled(FileTransferRequestEvent event)
fileTransferRequestCanceled in interface FileTransferListenerevent - the FileTransferRequestEvent containing the
request which was canceled.public CommonRightButtonMenu getCommonRightButtonMenu()
public void pluginComponentAdded(PluginComponentEvent event)
pluginComponentAdded in interface PluginComponentListenerevent - the PluginComponentEvent that notified uspublic void pluginComponentRemoved(PluginComponentEvent event)
pluginComponentRemoved in interface PluginComponentListenerevent - the PluginComponentEvent that notified us
|
Jitsi: the OpenSource Java VoIP and Instant Messaging client. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||