|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.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 Pluginjava.lang.Exceptionxnap.plugin.Plugin#start()public java.lang.String getName()
public void startGUI()
Plugin
startGUI in interface Pluginxnap.plugin.Plugin#startGUI()public void stop()
Plugin
stop in interface Pluginxnap.plugin.Plugin#stop()public void stopGUI()
Plugin
stopGUI in interface Pluginxnap.plugin.Plugin#stopGUI()public void itemAdded(ListEvent event)
ListListener
itemAdded in interface ListListenerxnap.event.ListListener#itemAdded(xnap.event.ListEvent)public void itemRemoved(ListEvent event)
ListListener
itemRemoved in interface ListListenerxnap.event.ListListener#itemRemoved(xnap.event.ListEvent)public void channelJoined(ChannelEvent event)
ChannelListener
channelJoined in interface ChannelListenerxnap.chat.ChannelListener#channelJoined(xnap.chat.ChannelEvent)public void channelParted(ChannelEvent event)
ChannelListener
channelParted in interface ChannelListenerxnap.chat.ChannelListener#channelParted(xnap.chat.ChannelEvent)public void messageReceived(ChannelEvent event)
ChannelListener
messageReceived in interface ChannelListenerxnap.chat.ChannelListener#messageReceived(xnap.chat.ChannelEvent)public void peerAdded(ChannelEvent event)
ChannelListener
peerAdded in interface ChannelListenerxnap.chat.ChannelListener#peerAdded(xnap.chat.ChannelEvent)public void peerChanged(ChannelEvent event)
ChannelListener
peerChanged in interface ChannelListenerxnap.chat.ChannelListener#peerChanged(xnap.chat.ChannelEvent)public void peerRemoved(ChannelEvent event)
ChannelListener
peerRemoved in interface ChannelListenerxnap.chat.ChannelListener#peerRemoved(xnap.chat.ChannelEvent)public void topicChanged(ChannelEvent event)
ChannelListener
topicChanged in interface ChannelListenerxnap.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 | |||||||||