Alphabetical Index

A B C D E F G I J L M O P R S U V

A

actionPerformed(ActionEvent) - method in class spin.demo.progress.PullGUI
Overriden to check EDT rule.
Overriden to check EDT rule.
addListener(AsyncListener) - method in class spin.demo.async.AsyncBean
Add a listener.
addListener(AsyncListener) - method in class spin.demo.async.AsyncBeanImpl
Add a listener.
Add a listener to property changes.
Add a listener to property changes.
Add a listener top property changes.
Add a listener to property changes.
aquireDialog() - method in class spin.demo.dispatcher.ConcealedDialogDispatcherFactory
Aquire a pooled dialog.
aquireDialog() - method in class spin.off.DialogDispatcherFactory
Factory method to implement by subclasses to aquire a dialog.
aquireDialog() - method in class spin.demo.dispatcher.RevealedDialogDispatcherFactory
Aquire a dialog for the currently active window.
aquireDialog(Window) - method in class spin.demo.dispatcher.RevealedDialogDispatcherFactory
Aquire a dialog for the given owning window.
areProxyEqual(Object,Object) - method in class spin.proxy.JDKProxyFactory
Test if the given proxies of this factory are intercepting the same object.
Assert - class spin.demo.Assert
Utility class to assert correct thread handling.
AsyncBean - interface spin.demo.async.AsyncBean
A common interface for an async bean.
AsyncBeanImpl - class spin.demo.async.AsyncBeanImpl
Implementation of an async bean.
AsyncGUI - class spin.demo.async.AsyncGUI
A demonstration of a GUI handling an async bean.
AsyncGUI(AsyncBean) - constructor for class spin.demo.async.AsyncGUI
Constructor.
AsyncListener - interface spin.demo.async.AsyncListener
The interface for an listener to ansync bean.
A factory of Dispatchers which uses reflection to AWT internals to dispatch events - used as default by Spin for spin-off.

B

Bean - interface spin.demo.Bean
A common interface for a bean.
BeanException - class spin.demo.exception.BeanException
A checked exception for the bean.
BeanImpl - class spin.demo.BeanImpl
Implementation of a bean.
BeanImpl() - constructor for class spin.demo.BeanImpl
Constructor.

C

CallbackGUI - class spin.demo.prompt.CallbackGUI
A demonstration of GUI showing a callback prompt.
CallbackGUI(PromptBean) - constructor for class spin.demo.prompt.CallbackGUI
Constructor.
CallGUI - class spin.demo.prompt.CallGUI
A demonstration of a GUI showing a call prompt.
CallGUI(PromptBean) - constructor for class spin.demo.prompt.CallGUI
Constructor.
cancel() - method in class spin.demo.progress.ProgressBean
Cancel the progress.
cancel() - method in class spin.demo.progress.ProgressBeanImpl
Cancel the progress.
Check EDT rule on access to the given component.
A repaintManager that checks bad access - i.e.
Implementation of a dispatcher which uses a pool of modal dialogs to dispatch events.
createDialog() - method in class spin.demo.dispatcher.ConcealedDialogDispatcherFactory
Factory method to create a new dialog.
createDialog(Window) - method in class spin.demo.dispatcher.RevealedDialogDispatcherFactory
Create a dialog for the given owner.
Create a dispatcher for events.
createDispatcher() - method in class spin.off.DialogDispatcherFactory
Create a dispatcher.
createDispatcher() - method in class spin.off.DispatcherFactory
Create a Dispatcher for AWT events.
Create a dispatcher for events.
createProxy(Object,Evaluator) - method in class spin.proxy.JDKProxyFactory
The created proxy will not implement non-public interfaces from different class loaders since these yield an IllegalAccessError on construction of a proxy.
Create a proxy for the given object that evaluates invocations with the given evaluator.

D

Abstract base class for factories that dispatch events with java.awt.Dialogs.
Directory - class spin.demo.complex.Directory
A directory.
Directory(String,boolean) - constructor for class spin.demo.complex.Directory
Constructor.
DirectoryService - interface spin.demo.complex.DirectoryService
A common interface for a directory service.
An exception of a directory service.
DirectoryServiceException(String) - constructor for class spin.demo.complex.DirectoryServiceException
Constructor.
DirectoryServiceGUI - class spin.demo.complex.DirectoryServiceGUI
A GUI that uses a directory service.
DirectoryServiceGUI(DirectoryService) - constructor for class spin.demo.complex.DirectoryServiceGUI
Constructor.
Dispatcher - interface spin.off.Dispatcher
An dispatcher of AWT events.
A factory of Dispatchers of AWT events.
DispatcherGUI - class spin.demo.dispatcher.DispatcherGUI
A demonstration of a GUI using different dispatchers.
DispatcherGUI(Bean) - constructor for class spin.demo.dispatcher.DispatcherGUI
Constructor.

E

Exception signaling a violation of the EDT rule.
EDTRuleViolation(Component) - constructor for class spin.over.EDTRuleViolation
Create an exception.
evaluate() - method in class spin.Invocation
Evaluate the return value (or a possibly thrown Throwable) by invoking to method with the arguments on the wrapped object.
evaluate(Invocation) - method in class spin.Evaluator
Evaluate the given invocation.
evaluate(Invocation) - method in class spin.off.ListenerSpinOver
evaluate(Invocation) - method in class spin.off.SpinOffEvaluator
Spin the given invocation off the EDT.
evaluate(Invocation) - method in class spin.over.SpinOverEvaluator
Spin the given invocation on the EDT.
Evaluator - class spin.Evaluator
An evaluator is used to evaluate invocations.
Evaluate the given invocation with the given evaluator.
ExceptionBean - class spin.demo.exception.ExceptionBean
Implementation of a exception throwing bean.
ExceptionGUI - class spin.demo.exception.ExceptionGUI
A demonstration of a GUI handling an exception.
ExceptionGUI(ExceptionBean) - constructor for class spin.demo.exception.ExceptionGUI
Constructor.

F

FileService - class spin.demo.complex.FileService
Implementation of a file service.
FileService() - constructor for class spin.demo.complex.FileService
Constructor.
FileService(File) - constructor for class spin.demo.complex.FileService
Constructor.
FileService(File,FileFilter) - constructor for class spin.demo.complex.FileService
Constructor.
FileService(String) - constructor for class spin.demo.complex.FileService
Constructor.
finished(int,long) - method in class spin.demo.async.AsyncGUI
finished(int,long) - method in class spin.demo.async.AsyncListener
Finished.

G

get(int) - method in class spin.demo.prompt.PromptBean
Get a value.
get(int) - method in class spin.demo.prompt.PromptBeanImpl
Get a value.
getArguments() - method in class spin.Invocation
Get the arguments for the invoked method.
getChildren(Directory) - method in class spin.demo.complex.DirectoryService
Get the children of a directory.
getChildren(Directory) - method in class spin.demo.complex.FileService
Get the children of a directory.
getChildren(Directory) - method in class spin.demo.complex.LatencyService
Get the children of a directory.
getChildren(Directory) - method in class spin.demo.complex.UnreliableService
Get the children of a directory.
getComponent() - method in class spin.over.EDTRuleViolation
Get the component that triggered the violation.
getDefaultDispatcherFactory() - static method in class spin.off.SpinOffEvaluator
Get the default dispatcher factory.
getDefaultOffEvaluator() - static method in class spin.Spin
Get the default evaluator for spin-off.
getDefaultOverEvaluator() - static method in class spin.Spin
Get the default evaluator for spin-over.
getDefaultProxyFactory() - static method in class spin.Spin
Get the default proxy factory.
getDefaultStarter() - static method in class spin.off.SpinOffEvaluator
Get the default starter.
getDefaultWait() - static method in class spin.over.SpinOverEvaluator
Should evaluations wait for the invocations.
getMethod() - method in class spin.Invocation
Get the invoked method.
getName() - method in class spin.demo.complex.Directory
Get the name.
getObject() - method in class spin.Invocation
Get the object this invocation is evaluated on.
getProxy() - method in class spin.Spin
Get a proxy for the wrapped object.
getResult() - method in class spin.Invocation
Get the result of evaluation
getRoot() - method in class spin.demo.complex.DirectoryService
Get the root directory.
getRoot() - method in class spin.demo.complex.FileService
Get the root directory.
getRoot() - method in class spin.demo.complex.LatencyService
Get the root directory.
getRoot() - method in class spin.demo.complex.UnreliableService
Get the root directory.
getStatus() - method in class spin.demo.progress.ProgressBean
Get the current status.
getStatus() - method in class spin.demo.progress.ProgressBeanImpl
Get the current status.
getThrowable() - method in class spin.Invocation
Get the throwable thrown on evaluation.
getValue() - method in class spin.demo.Bean
Get the value.
getValue() - method in class spin.demo.BeanImpl
Get the value.

I

Indicate a violation of the EDT rule.
initDialog(Dialog) - method in class spin.demo.dispatcher.ConcealedDialogDispatcherFactory
Initialize the given dialog.
initDialog(Dialog) - method in class spin.demo.dispatcher.RevealedDialogDispatcherFactory
A factory of Dispatchers which uses modal internal JOptionPanes to dispatch events.
Invocation - class spin.Invocation
A single invocation on a Spin proxy handled by Evaluators.
Invocation(Object,Method,Object[]) - constructor for class spin.Invocation
Create an invocation of the given method on the given object with the given arguments.
isEvaluated() - method in class spin.Invocation
Test if this invocation is already evaluated.
isLeaf() - method in class spin.demo.complex.Directory
Test if directory has children.
Is the given stackTraceElement liable to the EDT rule.
isListener(Class) - method in class spin.off.ListenerSpinOver
Test if the given class is a listener subinterface.
Test if the given method is a listener addition or removal.
isProxy(Object) - method in class spin.proxy.JDKProxyFactory
isProxy(Object) - method in class spin.ProxyFactory
Test if the given object is a proxy created by this factory.

J

JDKProxyFactory - class spin.proxy.JDKProxyFactory
A factory of proxies utilizing JDK virtual proxies.

L

LatencyService - class spin.demo.complex.LatencyService
Service that adds a latency to another service.
LatencyService(DirectoryService) - constructor for class spin.demo.complex.LatencyService
Constructor.
An evaluator for spin-off that automatically spins-over all arguments of a SpinOffEvaluator if their corresponding parameter types are subinterfaces of java.util.EventListener.
ListenerSpinOver() - constructor for class spin.off.ListenerSpinOver
Constructor.
ListenerSpinOver(Evaluator) - constructor for class spin.off.ListenerSpinOver
Constructor.

M

main(String[]) - static method in class spin.demo.async.AsyncGUI
Entrance to this demo.
main(String[]) - static method in class spin.demo.prompt.CallbackGUI
Entrance to this demo.
main(String[]) - static method in class spin.demo.prompt.CallGUI
Entrance to this demo.
main(String[]) - static method in class spin.demo.complex.DirectoryServiceGUI
Entrance to this complex demonstration.
main(String[]) - static method in class spin.demo.dispatcher.DispatcherGUI
Entrance to this demo.
main(String[]) - static method in class spin.demo.exception.ExceptionGUI
Entrance to this demo.
main(String[]) - static method in class spin.demo.progress.PullGUI
Entrance to this demo.
main(String[]) - static method in class spin.demo.progress.PushGUI
Entrance to this demo.
main(String[]) - static method in class spin.demo.SpinOffGUI
Entrance to this demo.
main(String[]) - static method in class spin.demo.SpinOverGUI
Entrance to this demo.

O

off(Object) - static method in class spin.Spin
Convenience method to spin-off the given object from Swing.
offEDT() - static method in class spin.demo.Assert
Must be executed off the EDT.
onEDT() - static method in class spin.demo.Assert
Must be executed on the EDT.
Hook method to handle a non-void return type of a invoked method.
over(Object) - static method in class spin.Spin
Convenience method to spin-over the given object with Swing.

P

possiblyThrowException() - method in class spin.demo.exception.ExceptionBean
Possibly throw an exception.
process(int) - method in class spin.demo.prompt.PromptBean
Process.
process(int) - method in class spin.demo.prompt.PromptBeanImpl
Process.
process(Prompt) - method in class spin.demo.prompt.PromptBean
Process.
process(Prompt) - method in class spin.demo.prompt.PromptBeanImpl
Process.
ProgressBean - interface spin.demo.progress.ProgressBean
A common interface for a progress.
ProgressBeanImpl - class spin.demo.progress.ProgressBeanImpl
Implementation of a progress.
ProgressBeanImpl() - constructor for class spin.demo.progress.ProgressBeanImpl
Constructor.
Prompt - interface spin.demo.prompt.Prompt
A common interface for a prompt.
prompt(String) - method in class spin.demo.prompt.CallbackGUI
Prompt.
prompt(String) - method in class spin.demo.prompt.Prompt
Prompt.
PromptBean - interface spin.demo.prompt.PromptBean
A common interface for a prompt.
PromptBeanImpl - class spin.demo.prompt.PromptBeanImpl
Implementation of a prompt.
PromptBeanImpl() - constructor for class spin.demo.prompt.PromptBeanImpl
Constructor.
propertyChange(PropertyChangeEvent) - method in class spin.demo.progress.PushGUI
A factory of proxies which intercept invocations, using Evaluators to evaluate them.
PullGUI - class spin.demo.progress.PullGUI
A demonstration of a GUI showing pulled progress.
PullGUI(ProgressBean) - constructor for class spin.demo.progress.PullGUI
Constructor.
PushGUI - class spin.demo.progress.PushGUI
A demonstration of GUI showing pushed progress.
PushGUI(ProgressBean) - constructor for class spin.demo.progress.PushGUI
Constructor.

R

releaseDialog(Dialog) - method in class spin.demo.dispatcher.ConcealedDialogDispatcherFactory
Release a pooled dialog.
Factory method to implement by subclasses to release a dialog.
releaseDialog(Dialog) - method in class spin.demo.dispatcher.RevealedDialogDispatcherFactory
resultOrThrow() - method in class spin.Invocation
Get the result or throwable of this invocation's evaluation.
Implementation of a dispatcher which uses dialogs to dispatch events.
run() - method in class spin.demo.async.AsyncBeanImpl

S

setArguments(Object[]) - method in class spin.Invocation
Set the arguments for the invoked method.
Set the default dispatcher factory.
setDefaultOffEvaluator(Evaluator) - static method in class spin.Spin
Set the default evaluator for spin-off.
setDefaultOverEvaluator(Evaluator) - static method in class spin.Spin
Set the default evaluator for spin-over.
setDefaultProxyFactory(ProxyFactory) - static method in class spin.Spin
Set the default factory of proxies.
setDefaultStarter(Starter) - static method in class spin.off.SpinOffEvaluator
Set the default starter.
setDefaultWait(boolean) - static method in class spin.over.SpinOverEvaluator
Should evaluations wait for the invocations.
setMethod(Method) - method in class spin.Invocation
Set the method to invoke.
setObject(Object) - method in class spin.Invocation
Set the object this invocation is evaluated on.
setResult(Object) - method in class spin.Invocation
Set the result of evaluation
setThrowable(Throwable) - method in class spin.Invocation
Set the throwable thrown on evaluation.
setValue(String) - method in class spin.demo.Bean
Set the value.
setValue(String) - method in class spin.demo.BeanImpl
Set the value.
SimpleStarter - class spin.off.SimpleStarter
Simple implementation of a Starter that creates a new thread for each invocation of start(Runnable).
size() - method in class spin.demo.prompt.PromptBean
Size.
size() - method in class spin.demo.prompt.PromptBeanImpl
Size.
Spin - class spin.Spin
Spin offers a transparent threading solution for developing non-freezing Swing applications.
Spin(Object,Evaluator) - constructor for class spin.Spin
Create a Spin wrapper for the given object.
Spin(Object,ProxyFactory,Evaluator) - constructor for class spin.Spin
Create a Spin wrapper for the given object.
An evaluator for spin-off, i.e.
SpinOffEvaluator() - constructor for class spin.off.SpinOffEvaluator
Create an evaluator for spin-off using the default dispatcherFactory and starter.
SpinOffEvaluator(DispatcherFactory) - constructor for class spin.off.SpinOffEvaluator
Create an evaluator for spin-off using the default starter.
Create an evaluator for spin-off.
SpinOffEvaluator(Starter) - constructor for class spin.off.SpinOffEvaluator
Create an evaluator for spin-off using the default dispatcherFactory.
SpinOffGUI - class spin.demo.SpinOffGUI
A demonstration of a GUI using spin off.
SpinOffGUI(Bean) - constructor for class spin.demo.SpinOffGUI
Constructor.
spinOver(Object) - method in class spin.off.ListenerSpinOver
Spin-over the given object.
An evaluator for spin-over, i.e.
SpinOverEvaluator() - constructor for class spin.over.SpinOverEvaluator
Create an evaluator for spin-over using the default wait setting.
SpinOverEvaluator(boolean) - constructor for class spin.over.SpinOverEvaluator
Create an evaluator for spin-over.
SpinOverGUI - class spin.demo.SpinOverGUI
A demonstration of a GUI using spin over.
SpinOverGUI() - constructor for class spin.demo.SpinOverGUI
Constructor.
start() - method in class spin.demo.async.AsyncBean
Start this bean in an asynchron thread.
start() - method in class spin.demo.async.AsyncBeanImpl
Start this bean in an asynchron thread.
start() - method in class spin.off.Dispatcher
Start dispatching events.
start() - method in class spin.demo.progress.ProgressBean
Start.
start() - method in class spin.demo.progress.ProgressBeanImpl
Start.
start(Runnable) - method in class spin.off.SimpleStarter
Start a runnable asynchronously.
start(Runnable) - method in class spin.off.Starter
Start a Runnable asynchronously.
Starter - interface spin.off.Starter
A Starter starts Runnables asynchronously - used by SpinOffEvaluators to spin-off non UI computations from the EDT.
stop() - method in class spin.off.Dispatcher
Stop dispatching events.

U

UnreliableService - class spin.demo.complex.UnreliableService
Service that adds a unreliability to another service.
UnreliableService(DirectoryService) - constructor for class spin.demo.complex.UnreliableService
Constructor.

V

Does acces to the given component violate the EDT rule.