|
||||||||||
| 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.gift.GiFTPlugin
public class GiFTPlugin
GiFTPlugin
| Field Summary | |
|---|---|
static javax.swing.Icon |
ICON_16
|
| Constructor Summary | |
|---|---|
GiFTPlugin()
Creates a new GiFTPlugin object. |
|
| Method Summary | |
|---|---|
void |
attached(OnlineEvent evt)
|
void |
detached(OfflineEvent evt)
|
ConnectToGiFTAction |
getConnectAction()
|
GiFTDaemon |
getDaemon()
|
DisconnectFromGiFTAction |
getDisconnectAction()
|
static GiFTPlugin |
getInstance()
Singleton getInstance |
java.lang.String |
getName()
Returns the name of the search network that is displayed to the user. |
ShutdownGiFTAction |
getShutdownAction()
|
StartGiFTAction |
getStartAction()
|
MediaType[] |
getSupportedMediaTypes()
Returns an array of MediaType objects that are supported
by the provider. |
UpdateGiFTStatsAction |
getUpdateAction()
|
void |
onError(ErrorEvent evt)
|
Search |
search(SearchFilter filter)
Invoked when a search is requested. |
void |
showPrefsDialog()
|
void |
start()
Called each time the plugin is enabled. |
void |
startGiftConnection()
|
void |
startGUI()
Called each time the gui part of the plugin is enabled. |
void |
statsUpdate(StatsEvent evt)
|
void |
statusChanged(GiFTDaemon daemon)
Invoked when the status changes. |
void |
stop()
Called each time the plugin is disabled. |
void |
stopGiftConnection()
|
void |
stopGUI()
Called each time the gui part of the plugin is disabled. |
| 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 javax.swing.Icon ICON_16
| Constructor Detail |
|---|
public GiFTPlugin()
| Method Detail |
|---|
public static GiFTPlugin getInstance()
public void attached(OnlineEvent evt)
xnap.plugin.gift.net.event.listener.NetworkEventListener#attached(xnap.plugin.gift.net.event.OnlineEvent)public void detached(OfflineEvent evt)
xnap.plugin.gift.net.event.listener.NetworkEventListener#detached(xnap.plugin.gift.net.event.OfflineEvent)public void onError(ErrorEvent evt)
xnap.plugin.gift.net.event.listener.ErrorEventListener#onError(xnap.plugin.gift.net.event.ErrorEvent)public Search search(SearchFilter filter)
SearchProvider
search in interface SearchProviderxnap.plugin.INetworkPlugin#search(xnap.util.SearchFilter, int)public void start()
Plugin
start in interface Pluginxnap.plugin.IPlugin#start()public void startGiftConnection()
public void stopGiftConnection()
public void statsUpdate(StatsEvent evt)
xnap.plugin.gift.net.event.listener.NetworkEventListener#statsUpdate(xnap.plugin.gift.net.event.StatsEvent)public void stop()
Plugin
stop in interface Pluginxnap.plugin.IPlugin#stop()public java.lang.String getName()
SearchProvider
getName in interface SearchProviderxnap.search.SearchProvider#getName()public MediaType[] getSupportedMediaTypes()
SearchProviderMediaType objects that are supported
by the provider.
getSupportedMediaTypes in interface SearchProviderxnap.search.SearchProvider#getSupportedMediaTypes()public void startGUI()
Plugin
startGUI in interface Pluginxnap.plugin.Plugin#startGUI()public void stopGUI()
Plugin
stopGUI in interface Pluginxnap.plugin.Plugin#stopGUI()public void showPrefsDialog()
public ConnectToGiFTAction getConnectAction()
public GiFTDaemon getDaemon()
public DisconnectFromGiFTAction getDisconnectAction()
public ShutdownGiFTAction getShutdownAction()
public StartGiFTAction getStartAction()
public UpdateGiFTStatsAction getUpdateAction()
public void statusChanged(GiFTDaemon daemon)
GiFTDaemonListener
statusChanged in interface GiFTDaemonListenerorg.xnap.plugin.gift.net.GiFTDaemonListener#statusChanged(org.xnap.plugin.gift.net.GiFTDaemon, java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||