webfunds.client
Class SimplePaymentFrame

java.lang.Object
  |
  +--java.lang.Thread
        |
        +--webfunds.client.plugins.Plugin
              |
              +--webfunds.client.SimplePaymentFrame

public class SimplePaymentFrame
extends Plugin
implements java.awt.event.ActionListener


Field Summary
protected  java.lang.String contractAction
           
protected  java.lang.String name
           
 
Fields inherited from class webfunds.client.plugins.Plugin
ACCOUNTMODE, bug, CONTRACTMODE, cs, fix, GENERALMODE, name, pm, spec, store, ui, unsup
 
Fields inherited from class java.lang.Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY
 
Constructor Summary
SimplePaymentFrame()
           
 
Method Summary
 void actionPerformed(java.awt.event.ActionEvent evt)
           
 java.lang.String getContractAction()
          Contract action causes the subaccount popup to get a button, and will result in init(wallet, ac, id) being called, below.
 java.lang.String getPluginName()
          The name of the plugin, for titles and such like.
 void init(WalletInterface wi, AccountInfo source, ItemId contract)
           
 void run()
           
 
Methods inherited from class webfunds.client.plugins.Plugin
debug, err, getAccountAction, getDebug, getGeneralAction, init, init, logmsg, propertyChange, setContractStore, setPluginManager, setStore, setUInterface
 
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

name

protected java.lang.String name

contractAction

protected java.lang.String contractAction
Constructor Detail

SimplePaymentFrame

public SimplePaymentFrame()
Method Detail

getPluginName

public java.lang.String getPluginName()
Description copied from class: Plugin
The name of the plugin, for titles and such like.
Overrides:
getPluginName in class Plugin

getContractAction

public java.lang.String getContractAction()
Description copied from class: Plugin
Contract action causes the subaccount popup to get a button, and will result in init(wallet, ac, id) being called, below.
Overrides:
getContractAction in class Plugin

init

public void init(WalletInterface wi,
                 AccountInfo source,
                 ItemId contract)
          throws ModeNotSupportedException
Overrides:
init in class Plugin

run

public void run()
Overrides:
run in class java.lang.Thread
Throws:
java.lang.IllegalStateException - When init() wasn't called first (or when init() failed).

actionPerformed

public void actionPerformed(java.awt.event.ActionEvent evt)
Specified by:
actionPerformed in interface java.awt.event.ActionListener