|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectClient.ConversationPane
public class ConversationPane
Manages a JPanel representing a single conversation tab. Can switch from the "invite" view -- which says "You have been invited [...]" and features buttons to accept or reject the invitation -- to the "conversation" view -- which has all of the necessary buttons, windows, and textfields to manage multiple users having a conversation.
| Constructor Summary | |
|---|---|
ConversationPane(ClientView vi,
java.lang.String id)
Construct a new ConversationPane. |
|
ConversationPane(ClientView vi,
java.lang.String id,
java.lang.String otheruser)
For when another user has invited you to a chat. |
|
| Method Summary | |
|---|---|
void |
addStatement(Statement statement)
Add a statement to the conversation. |
javax.swing.JPanel |
getPanel()
|
void |
init()
Settings common to both constructor methods. |
void |
updateUsers(java.util.List<java.lang.String> users)
Update the list of users participating in this conversation to match a given list. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConversationPane(ClientView vi,
java.lang.String id)
vi - The ClientView that is the "parent" of this conversation paneid - The ID of the conversation
public ConversationPane(ClientView vi,
java.lang.String id,
java.lang.String otheruser)
vi - The ClientView that is the "parent" of this conversation paneid - The ID of the conversationotheruser - The user who invited you to a chat.| Method Detail |
|---|
public void init()
public javax.swing.JPanel getPanel()
public void addStatement(Statement statement)
statement - the Statement to addpublic void updateUsers(java.util.List<java.lang.String> users)
users - the list of users to update to
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||