|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--uk.ac.man.bioinf.apps.invoker.Invoker
Invoker.java This class another attempt at making the sytem event queue easier in Swing. This class is meant to be used an a base implementation of runnable with a few alternative constructors, and utility methods. Its meant to be extended probably as an anonymous class to actually provide any degree of functionality. This class was originally called the "SlowInvoker". The reasons for the "Slow" are entirely historical, and relatively inappropriate. Created: Mon Dec 07 13:17:00 1998
Constructor Summary | |
Invoker()
Pointless constructor provided for the hell of it. |
|
Invoker(Object source)
Less Pointless constructor. |
|
Invoker(Object source,
Object param)
Even more less pointless contstructor Takes a param to be used later as a parameter for the method which will be called on what is proably going to be the source. |
Method Summary | |
abstract void |
doRun()
|
Object |
getParameter()
Get the parameter |
Object |
getParameter(int index)
Get the parameter specified by the given index. |
Object |
getSource()
Get the source |
void |
run()
|
void |
setExceptionHandler(ExceptionHandler handle)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Invoker()
public Invoker(Object source)
source
- the source or whatever you choosepublic Invoker(Object source, Object param)
source
- the source or whatever you choseparam
- the param or whatever you chooseMethod Detail |
public void run()
run
in interface Runnable
public abstract void doRun()
public Object getSource()
public Object getParameter()
public Object getParameter(int index)
index
- the index of the parameter to be returnedpublic void setExceptionHandler(ExceptionHandler handle)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |