|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--irc.IRCObject
|
+--irc.Source
|
+--irc.IRCSource
|
+--irc.ChanList
A channel list handler.
| Field Summary |
| Fields inherited from class irc.Source |
_in, _server |
| Fields inherited from class irc.IRCObject |
_ircConfiguration |
| Constructor Summary | |
ChanList(IRCConfiguration config,
IRCServer server,
java.lang.String name)
Create a new ChanList. |
|
| Method Summary | |
void |
addChanListListener(ChanListListener lis)
Add a ChanListListener. |
void |
addChannel(ChannelInfo nfo)
Add a channel in the channel list. |
void |
begin()
Begin a new channel listing. |
void |
end()
End the channel listing. |
ChannelInfo[] |
getChannels()
Get the channels. |
java.lang.String |
getName()
Get the chanlist name. |
java.lang.String |
getType()
Get this source type. |
void |
leave()
Request the destruction of this chanlist. |
boolean |
mayDefault()
Test whether this source may be used as a default source for system event output. |
void |
removeChanListListeners(ChanListListener lis)
Remove a chanListListener. |
boolean |
talkable()
Test wether this source can accept messages from user. |
| Methods inherited from class irc.IRCSource |
getIRCServer |
| Methods inherited from class irc.Source |
action, activate, addSourceListener, clear, getInterpretor, getServer, isActive, messageReceived, noticeReceived, release, removeSourceListener, report, sendString, setCTCPFilter, setInterpretor |
| Methods inherited from class irc.IRCObject |
getColor, getIRCConfiguration, getText, getText, getText, getText, getTimeStamp |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ChanList(IRCConfiguration config,
IRCServer server,
java.lang.String name)
config - the global configuration.server - the IRCServer from where to retreive channel list.name - the chanlist name.| Method Detail |
public java.lang.String getType()
Source
getType in class Sourcepublic java.lang.String getName()
getName in class Sourcepublic ChannelInfo[] getChannels()
public void addChannel(ChannelInfo nfo)
nfo - new channel to add.public void begin()
public void end()
public void addChanListListener(ChanListListener lis)
lis - listener to add.public void removeChanListListeners(ChanListListener lis)
lis - listener to remove.public void leave()
leave in class Sourcepublic boolean talkable()
Source
talkable in class Sourcepublic boolean mayDefault()
Source
mayDefault in class Source
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||