org.xnap.event
Class PluginAdapter

java.lang.Object
  extended by org.xnap.event.PluginAdapter
All Implemented Interfaces:
PluginListener

public abstract class PluginAdapter
extends java.lang.Object
implements PluginListener

An abstract adapter class for receiving plugin events. The methods in this class are empty. This class exists as convenience for creating listener objects.


Constructor Summary
PluginAdapter()
           
 
Method Summary
 void pluginDisabled(Plugin plugin)
          Invoked when a plugin a been diabled.
 void pluginEnabled(Plugin plugin)
          Invoked when a plugin has been enabled.
 void pluginInfoAdded(PluginInfo info)
          Invoked when a plugin info a been added.
 void pluginInfoRemoved(PluginInfo info)
          Invoked when a plugin info a been removed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginAdapter

public PluginAdapter()
Method Detail

pluginEnabled

public void pluginEnabled(Plugin plugin)
Description copied from interface: PluginListener
Invoked when a plugin has been enabled.

Specified by:
pluginEnabled in interface PluginListener
Parameters:
plugin - the plugin which has been enabled

pluginDisabled

public void pluginDisabled(Plugin plugin)
Description copied from interface: PluginListener
Invoked when a plugin a been diabled.

Specified by:
pluginDisabled in interface PluginListener
Parameters:
plugin - the plugin which has been disabled

pluginInfoAdded

public void pluginInfoAdded(PluginInfo info)
Description copied from interface: PluginListener
Invoked when a plugin info a been added.

Specified by:
pluginInfoAdded in interface PluginListener
Parameters:
info - the plugin info which has been added

pluginInfoRemoved

public void pluginInfoRemoved(PluginInfo info)
Description copied from interface: PluginListener
Invoked when a plugin info a been removed

Specified by:
pluginInfoRemoved in interface PluginListener
Parameters:
info - the plugin info which has been removed


Copyright © 2001-2005 XNap Team. All Rights Reserved.