|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--i3mclient.userlist.UserList
The logic of the userlist.
UserListPanel| Field Summary | |
static int |
BUDDYLISTMODE
This user list is a buddy list |
static int |
DISCUSSIONMODE
This user list is a discussion member list |
| Constructor Summary | |
UserList()
Constructor for normal buddy list. |
|
UserList(long setDiscussionID)
Constructor for discussion member list. |
|
| Method Summary | |
boolean |
addBuddy(BuddyData buddyData)
Add a buddy to the buddy list. |
void |
addErrorListener(ErrorListener listener)
Add a listener for errors. |
void |
addUserListener(UserListListener listener)
Add a listener for user changes. |
boolean |
buddyAllowed(BuddyData buddyData)
Check if buddy can be added to buddy list. |
int |
getMode()
Returns the current mode. |
void |
init()
Init rest. |
void |
messageReceived(MessageData message)
Called if Polling receives a new message from Server. |
void |
mouseDoubleClick(MouseEvent event)
|
void |
mouseDown(MouseEvent event)
|
void |
mouseUp(MouseEvent event)
|
boolean |
moveBuddy(BuddyData buddyData)
Move buddy inside buddy list. |
void |
removeErrorListener(ErrorListener listener)
Remove a listener for errors. |
void |
removeUserListener(UserListListener listener)
Remove a listener for user changes. |
void |
renameGroup(String oldName,
String newName)
Rename a group. |
void |
shellActivated(ShellEvent arg0)
|
void |
shellClosed(ShellEvent event)
|
void |
shellDeactivated(ShellEvent arg0)
|
void |
shellDeiconified(ShellEvent arg0)
|
void |
shellIconified(ShellEvent arg0)
|
void |
statusChanged(int status)
Called when status of the user changed. |
void |
widgetDefaultSelected(SelectionEvent event)
|
void |
widgetSelected(SelectionEvent event)
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final int BUDDYLISTMODE
public static final int DISCUSSIONMODE
| Constructor Detail |
public UserList(long setDiscussionID)
setDiscussionID - The dicussionID of the discussion which belongs to this discussion member listpublic UserList()
| Method Detail |
public int getMode()
public void init()
public boolean addBuddy(BuddyData buddyData)
buddyData - The BuddyData of the buddy which will be added to the buddylist
public boolean moveBuddy(BuddyData buddyData)
buddyData - The BuddyData of the buddy which will be moved
public boolean buddyAllowed(BuddyData buddyData)
buddyData - The BuddyData of the buddy which will be checked
public void renameGroup(String oldName,
String newName)
oldName - The old name of the groupnewName - The new name of the grouppublic void addUserListener(UserListListener listener)
listener - The listener which will be informed about user changespublic void removeUserListener(UserListListener listener)
listener - The listener which will be no longer informed about user changespublic void addErrorListener(ErrorListener listener)
listener - The listener which will be informed about errorspublic void removeErrorListener(ErrorListener listener)
listener - The listener which will be no longer informed about errorspublic void statusChanged(int status)
StatusListener
statusChanged in interface StatusListenerstatus - The new status of the user.public void mouseDoubleClick(MouseEvent event)
mouseDoubleClick in interface MouseListenerpublic void mouseDown(MouseEvent event)
mouseDown in interface MouseListenerpublic void mouseUp(MouseEvent event)
mouseUp in interface MouseListenerpublic void messageReceived(MessageData message)
MessageListener
messageReceived in interface MessageListenermessage - The new received messagepublic void widgetSelected(SelectionEvent event)
widgetSelected in interface SelectionListenerpublic void widgetDefaultSelected(SelectionEvent event)
widgetDefaultSelected in interface SelectionListenerpublic void shellClosed(ShellEvent event)
shellClosed in interface ShellListenerpublic void shellActivated(ShellEvent arg0)
shellActivated in interface ShellListenerpublic void shellDeactivated(ShellEvent arg0)
shellDeactivated in interface ShellListenerpublic void shellDeiconified(ShellEvent arg0)
shellDeiconified in interface ShellListenerpublic void shellIconified(ShellEvent arg0)
shellIconified in interface ShellListener
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||