org.relayirc.swingui
Class ChatOptions.ChannelList

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

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

See Also:
Serialized Form

Constructor Summary
ChatOptions.ChannelList()
          Construct empty server list.
 
Method Summary
 void addChannel(Channel chan)
          Add channel to list of IRC channels frequented by user.
 Channel getChannel(int index)
          Get channel by index.
 int getChannelCount()
          Get number of channels.
 void removeChannel(Channel channel)
          Remove channel.
 
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.ChannelList

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

addChannel

public void addChannel(Channel chan)
Add channel to list of IRC channels frequented by user.

getChannelCount

public int getChannelCount()
Get number of channels.

getChannel

public Channel getChannel(int index)
Get channel by index.

removeChannel

public void removeChannel(Channel channel)
Remove channel.