|
||||||||||
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.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 SearchProvider
xnap.plugin.INetworkPlugin#search(xnap.util.SearchFilter, int)
public void start()
Plugin
start
in interface Plugin
xnap.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 Plugin
xnap.plugin.IPlugin#stop()
public java.lang.String getName()
SearchProvider
getName
in interface SearchProvider
xnap.search.SearchProvider#getName()
public MediaType[] getSupportedMediaTypes()
SearchProvider
MediaType
objects that are supported
by the provider.
getSupportedMediaTypes
in interface SearchProvider
xnap.search.SearchProvider#getSupportedMediaTypes()
public void startGUI()
Plugin
startGUI
in interface Plugin
xnap.plugin.Plugin#startGUI()
public void stopGUI()
Plugin
stopGUI
in interface Plugin
xnap.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 GiFTDaemonListener
org.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 |