org.relayirc.swingui
Class ChatOptions.UserList

java.lang.Object
  |
  +--org.relayirc.swingui.ChatOptions.ObjectList
        |
        +--org.relayirc.swingui.ChatOptions.UserList
All Implemented Interfaces:
java.io.Serializable
Enclosing class:
ChatOptions

public class ChatOptions.UserList
extends ChatOptions.ObjectList
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
ChatOptions.UserList()
          Construct empty server list.
 
Method Summary
 void addUser(User user)
          Add user to list of users.
 User getUser(int index)
          Get user by index.
 int getUserCount()
          Get number of users.
 boolean isFavorite(User user)
          Determine if user is a favorite.
 void removeUser(User user)
          Remove user from user's list of favorite users.
 
Methods inherited from class org.relayirc.swingui.ChatOptions.ObjectList
addObject, contains, getObject, getObjectCount, getObjects, insertObjectAt, removeObject, setObjects
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ChatOptions.UserList

public ChatOptions.UserList()
Construct empty server list.
Method Detail

isFavorite

public boolean isFavorite(User user)
Determine if user is a favorite.

addUser

public void addUser(User user)
Add user to list of users.

getUserCount

public int getUserCount()
Get number of users.

getUser

public User getUser(int index)
Get user by index.

removeUser

public void removeUser(User user)
Remove user from user's list of favorite users.