|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xnap.plugin.AbstractPlugin org.xnap.plugin.festival.FestivalPlugin
public class FestivalPlugin
Provides a simple text-to-speech plugin using festival. For now it reads incoming chat messages aloud.
Field Summary | |
---|---|
static java.lang.String |
ICON_FILENAME
|
Constructor Summary | |
---|---|
FestivalPlugin()
|
Method Summary | |
---|---|
void |
channelJoined(ChannelEvent event)
Invoked when the channel has been joined. |
void |
channelParted(ChannelEvent event)
Invoked when the channel has been parted. |
java.lang.String |
getName()
|
void |
itemAdded(ListEvent event)
Invoked when an item has beed added. |
void |
itemRemoved(ListEvent event)
Invoked when an item has been removed. |
void |
messageReceived(ChannelEvent event)
Invoked when a message has been received. |
void |
peerAdded(ChannelEvent event)
Invoked when a peer has joined the channel. |
void |
peerChanged(ChannelEvent event)
Invoked when a peer has changed and need to be updated on screen. |
void |
peerRemoved(ChannelEvent event)
Invoked when a peer has left the channel. |
void |
propertyChange(java.beans.PropertyChangeEvent e)
|
void |
start()
Called each time the plugin is enabled. |
void |
startGUI()
Called each time the gui part of the plugin is enabled. |
void |
stop()
Called each time the plugin is disabled. |
void |
stopGUI()
Called each time the gui part of the plugin is disabled. |
void |
topicChanged(ChannelEvent event)
Invoked when a the topic has changed. |
Methods inherited from class org.xnap.plugin.AbstractPlugin |
---|
getInfo, setInfo, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String ICON_FILENAME
Constructor Detail |
---|
public FestivalPlugin()
Method Detail |
---|
public void start() throws java.lang.Exception
Plugin
start
in interface Plugin
java.lang.Exception
xnap.plugin.Plugin#start()
public java.lang.String getName()
public void startGUI()
Plugin
startGUI
in interface Plugin
xnap.plugin.Plugin#startGUI()
public void stop()
Plugin
stop
in interface Plugin
xnap.plugin.Plugin#stop()
public void stopGUI()
Plugin
stopGUI
in interface Plugin
xnap.plugin.Plugin#stopGUI()
public void itemAdded(ListEvent event)
ListListener
itemAdded
in interface ListListener
xnap.event.ListListener#itemAdded(xnap.event.ListEvent)
public void itemRemoved(ListEvent event)
ListListener
itemRemoved
in interface ListListener
xnap.event.ListListener#itemRemoved(xnap.event.ListEvent)
public void channelJoined(ChannelEvent event)
ChannelListener
channelJoined
in interface ChannelListener
xnap.chat.ChannelListener#channelJoined(xnap.chat.ChannelEvent)
public void channelParted(ChannelEvent event)
ChannelListener
channelParted
in interface ChannelListener
xnap.chat.ChannelListener#channelParted(xnap.chat.ChannelEvent)
public void messageReceived(ChannelEvent event)
ChannelListener
messageReceived
in interface ChannelListener
xnap.chat.ChannelListener#messageReceived(xnap.chat.ChannelEvent)
public void peerAdded(ChannelEvent event)
ChannelListener
peerAdded
in interface ChannelListener
xnap.chat.ChannelListener#peerAdded(xnap.chat.ChannelEvent)
public void peerChanged(ChannelEvent event)
ChannelListener
peerChanged
in interface ChannelListener
xnap.chat.ChannelListener#peerChanged(xnap.chat.ChannelEvent)
public void peerRemoved(ChannelEvent event)
ChannelListener
peerRemoved
in interface ChannelListener
xnap.chat.ChannelListener#peerRemoved(xnap.chat.ChannelEvent)
public void topicChanged(ChannelEvent event)
ChannelListener
topicChanged
in interface ChannelListener
xnap.chat.ChannelListener#topicChanged(xnap.chat.ChannelEvent)
public void propertyChange(java.beans.PropertyChangeEvent e)
propertyChange
in interface java.beans.PropertyChangeListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |