webfunds.client.contracts
Class ContractBrowser
java.lang.Object
|
+--java.lang.Thread
|
+--webfunds.client.plugins.Plugin
|
+--webfunds.client.contracts.ContractBrowser
- public class ContractBrowser
- extends Plugin
- implements java.awt.event.ActionListener
| 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 |
| Methods inherited from class java.lang.Thread |
activeCount,
checkAccess,
countStackFrames,
currentThread,
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 |
name
protected java.lang.String name
generalaction
protected java.lang.String generalaction
contractaction
protected java.lang.String contractaction
ADD_BUTTON
public static final java.lang.String ADD_BUTTON
DELETE_BUTTON
public static final java.lang.String DELETE_BUTTON
FILE_BUTTON
public static final java.lang.String FILE_BUTTON
CLOSE_BUTTON
public static final java.lang.String CLOSE_BUTTON
OPEN_BUTTON
public static final java.lang.String OPEN_BUTTON
HASH_BUTTON
public static final java.lang.String HASH_BUTTON
ContractBrowser
public ContractBrowser()
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
getGeneralAction
public java.lang.String getGeneralAction()
- Description copied from class: Plugin
- Supply one of these, each returning the name of the displayed button.
Also supply applicable call to init, below.
General action is on the top button bar, and will result in
init() being called, below.
- Overrides:
- getGeneralAction 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()
throws ModeNotSupportedException
- Description copied from class: Plugin
- One of these is called depending on the location of the click
in the hierarchy. You should supply at least one of them,
according to which get*Action() calls are present, above.
init with no arguments is called if a general button is clicked.
init(wallet, ac) is called if an account popup button is clicked.
init(wallet, ac, contract) if a subaccount popup button is clicked.
- Overrides:
- init in class Plugin
init
public void init(WalletInterface wi,
AccountInfo info,
ItemId con)
throws ModeNotSupportedException
- Overrides:
- init in class Plugin
addFileMenuButton
protected void addFileMenuButton(java.lang.String s)
run
public void run()
- Overrides:
- run in class java.lang.Thread
destroy
public void destroy()
- Overrides:
- destroy in class java.lang.Thread
setContractStore
public void setContractStore(ChangeContractStore contractstore)
- Overrides:
- setContractStore in class Plugin
actionPerformed
public void actionPerformed(java.awt.event.ActionEvent evt)
- Specified by:
- actionPerformed in interface java.awt.event.ActionListener
main
public static void main(java.lang.String[] args)
throws java.lang.Exception