A C D E G I J L O P R S V

A

AWTReflectDispatcherFactory - class spin.off.AWTReflectDispatcherFactory.
A factory of Dispatchers which uses reflection to AWT internals to dispatch events - used as default by Spin for spin-off.
AWTReflectDispatcherFactory() - Constructor for class spin.off.AWTReflectDispatcherFactory
 
addDirtyRegion(JComponent, int, int, int, int) - Method in class spin.over.CheckingRepaintManager
Overriden to check EDT rule.
addInvalidComponent(JComponent) - Method in class spin.over.CheckingRepaintManager
Overriden to check EDT rule.
aquireDialog() - Method in class spin.off.DialogDispatcherFactory
Factory method to implement by subclasses to aquire a dialog.
areProxyEqual(Object, Object) - Method in class spin.CGLibProxyFactory
 
areProxyEqual(Object, Object) - Method in class spin.JDKProxyFactory
 
areProxyEqual(Object, Object) - Method in class spin.ProxyFactory
Test if the given proxies of this factory are intercepting the same object.

C

CGLibProxyFactory - class spin.CGLibProxyFactory.
A factory of proxies utilizing CGLib.
CGLibProxyFactory() - Constructor for class spin.CGLibProxyFactory
 
CheckingRepaintManager - class spin.over.CheckingRepaintManager.
A repaintManager that checks bad access - i.e. access from non EDT - to Swing components.
CheckingRepaintManager() - Constructor for class spin.over.CheckingRepaintManager
 
checkEDTRule(Component) - Method in class spin.over.CheckingRepaintManager
Check EDT rule on access to the given component.
createDispatcher() - Method in class spin.off.AWTReflectDispatcherFactory
Create a dispatcher for events.
createDispatcher() - Method in class spin.off.DialogDispatcherFactory
Create a dispatcher.
createDispatcher() - Method in interface spin.off.DispatcherFactory
Create a Dispatcher for AWT events.
createDispatcher() - Method in class spin.off.InternalOptionPaneDispatcherFactory
Create a dispatcher for events.
createProxy(Object, Evaluator) - Method in class spin.CGLibProxyFactory
 
createProxy(Object, Evaluator) - Method in class spin.JDKProxyFactory
 
createProxy(Object, Evaluator) - Method in class spin.ProxyFactory
Create a proxy for the given object that evaluates invocations with the given evaluator.

D

DialogDispatcherFactory - class spin.off.DialogDispatcherFactory.
Abstract base class for factories that dispatch events with java.awt.Dialogs.
DialogDispatcherFactory() - Constructor for class spin.off.DialogDispatcherFactory
 
DialogDispatcherFactory.DialogDispatcher - class spin.off.DialogDispatcherFactory.DialogDispatcher.
Dispatcher with Dialog.
DialogDispatcherFactory.DialogDispatcher() - Constructor for class spin.off.DialogDispatcherFactory.DialogDispatcher
 
Dispatcher - interface spin.off.Dispatcher.
An dispatcher of AWT events.
DispatcherFactory - interface spin.off.DispatcherFactory.
A factory of Dispatchers of AWT events.

E

EDTRuleViolation - exception spin.over.EDTRuleViolation.
Exception signaling a violation of the EDT rule.
EDTRuleViolation(Component) - Constructor for class spin.over.EDTRuleViolation
 
Evaluator - class spin.Evaluator.
An evaluator is used to evaluate invocations.
Evaluator() - Constructor for class spin.Evaluator
 
evaluate(Invocation) - Method in class spin.Evaluator
Evaluate the given invocation.
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.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.
evaluteInvocation(Evaluator, Object, Invocation) - Method in class spin.ProxyFactory
Evaluate the given invocation with the given evaluator.

G

getArguments() - Method in class spin.Invocation
Get the arguments for the invoked method.
getComponent() - Method in class spin.over.EDTRuleViolation
 
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
 
getMethod() - Method in class spin.Invocation
Get the invoked method.
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
getThrowable() - Method in class spin.Invocation
Get the throwable thrown on evaluation.

I

InternalOptionPaneDispatcherFactory - class spin.off.InternalOptionPaneDispatcherFactory.
A factory of Dispatchers which uses modal internal JOptionPanes to dispatch events.
InternalOptionPaneDispatcherFactory() - Constructor for class spin.off.InternalOptionPaneDispatcherFactory
 
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.
indicate(EDTRuleViolation) - Method in class spin.over.CheckingRepaintManager
Indicate a violation of the EDT rule.
isEvaluated() - Method in class spin.Invocation
Test if this invocation is already evaluated.
isLiableToEDTRule(StackTraceElement) - Method in class spin.over.CheckingRepaintManager
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.
isListenerAdditionOrRemoval(Method) - Method in class spin.off.ListenerSpinOver
Test if the given method is a listener addition or removal.
isProxy(Object) - Method in class spin.CGLibProxyFactory
 
isProxy(Object) - Method in class spin.JDKProxyFactory
 
isProxy(Object) - Method in class spin.ProxyFactory
Test if the given object is a proxy created by this factory.

J

JDKProxyFactory - class spin.JDKProxyFactory.
A factory of proxies utilizing JDK virtual proxies.
JDKProxyFactory() - Constructor for class spin.JDKProxyFactory
 

L

ListenerSpinOver - class spin.off.ListenerSpinOver.
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
 
ListenerSpinOver(Evaluator) - Constructor for class spin.off.ListenerSpinOver
 

O

off(Object) - Static method in class spin.Spin
Convenience method to spin-off the given object from Swing.
onInvokeLaterNonVoidReturnType(Invocation) - Method in class spin.over.SpinOverEvaluator
 
over(Object) - Static method in class spin.Spin
Convenience method to spin-over the given object with Swing.

P

ProxyFactory - class spin.ProxyFactory.
A factory of proxies which intercept invocations, using Evaluators to evaluate them.
ProxyFactory() - Constructor for class spin.ProxyFactory
 

R

releaseDialog(Dialog) - Method in class spin.off.DialogDispatcherFactory
Factory method to implement by subclasses to release a dialog.
resultOrThrow() - Method in class spin.Invocation
Get the result or throwable of this invocation's evaluation.
run() - Method in class spin.off.DialogDispatcherFactory.DialogDispatcher
Called on the EDT to stop the dispatching.

S

SimpleStarter - class spin.off.SimpleStarter.
Simple implementation of a Starter that creates a new thread for each invocation of SimpleStarter.start(Runnable).
SimpleStarter() - Constructor for class spin.off.SimpleStarter
 
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.
SpinOffEvaluator - class spin.off.SpinOffEvaluator.
An evaluator for spin-off, i.e. all invocations are evaluated on another thread than the EDT while further events are dispatched.
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.
SpinOffEvaluator(Starter) - Constructor for class spin.off.SpinOffEvaluator
Create an evaluator for spin-off using the default dispatcherFactory.
SpinOffEvaluator(DispatcherFactory, Starter) - Constructor for class spin.off.SpinOffEvaluator
Create an evaluator for spin-off.
SpinOverEvaluator - class spin.over.SpinOverEvaluator.
An evaluator for spin-over, i.e. all invocations are evaluated on the EDT.
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.
Starter - interface spin.off.Starter.
A Starter starts Runnables asynchronously - used by SpinOffEvaluators to spin-off non UI computations from the EDT.
setArguments(Object[]) - Method in class spin.Invocation
Set the arguments for the invoked method.
setDefaultDispatcherFactory(DispatcherFactory) - Static method in class spin.off.SpinOffEvaluator
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
 
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.
spin - package spin
 
spin.off - package spin.off
 
spin.over - package spin.over
 
spinOver(Object) - Method in class spin.off.ListenerSpinOver
Spin-over the given object.
start() - Method in class spin.off.DialogDispatcherFactory.DialogDispatcher
Start the dispatching.
start() - Method in interface spin.off.Dispatcher
Start dispatching events.
start(Runnable) - Method in class spin.off.SimpleStarter
Start a runnable asynchronously.
start(Runnable) - Method in interface spin.off.Starter
Start a Runnable asynchronously.
stop() - Method in class spin.off.DialogDispatcherFactory.DialogDispatcher
Stop dispatching.
stop() - Method in interface spin.off.Dispatcher
Stop dispatching events.

V

violatesEDTRule(Component) - Method in class spin.over.CheckingRepaintManager
Does acces to the given component violate the EDT rule.

A C D E G I J L O P R S V