com.aol.acc
Class AccCommandTarget

java.lang.Object
  extended by com.aol.acc.AccBase
      extended by com.aol.acc.AccCommandTarget

public class AccCommandTarget
extends AccBase

The IAccCommandTarget interface is required for plugins that will receive commands.


Method Summary
 void exec(int command, AccVariant users)
          Called when the user invokes the plugin, either by selecting it from a menu,
clicking on a button, or other means.

 boolean queryStatus(int command, AccVariant users)
          Called by the application when it wants to determine whether the plugin
can be invoked, given its current internal state and selected buddies
in the Buddy List.

 
Methods inherited from class com.aol.acc.AccBase
compareHandle, equals
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

queryStatus

public boolean queryStatus(int command,
                           AccVariant users)
                    throws AccException
Called by the application when it wants to determine whether the plugin
can be invoked, given its current internal state and selected buddies
in the Buddy List.

Throws:
AccException

exec

public void exec(int command,
                 AccVariant users)
          throws AccException
Called when the user invokes the plugin, either by selecting it from a menu,
clicking on a button, or other means.

Throws:
AccException