spin.off

Class DialogDispatcherFactory

Implemented Interfaces:
DispatcherFactory

public abstract class DialogDispatcherFactory
extends java.lang.Object
implements DispatcherFactory

Abstract base class for factories that dispatch events with java.awt.Dialogs. Shows how events can be dispatched with standard AWT.
See Also:
SpinOffEvaluator.SpinOffEvaluator(DispatcherFactory), SpinOffEvaluator.setDefaultDispatcherFactory(DispatcherFactory), AWTReflectDispatcherFactory

Nested Class Summary

protected class
DialogDispatcherFactory.DialogDispatcher
Dispatcher with Dialog.

Method Summary

protected abstract Dialog
aquireDialog()
Factory method to implement by subclasses to aquire a dialog.
Dispatcher
createDispatcher()
Create a dispatcher.
protected abstract void
releaseDialog(Dialog dialog)
Factory method to implement by subclasses to release a dialog.

Method Details

aquireDialog

protected abstract Dialog aquireDialog()
Factory method to implement by subclasses to aquire a dialog.
Returns:
dialog

createDispatcher

public Dispatcher createDispatcher()
Create a dispatcher.
Specified by:
createDispatcher in interface DispatcherFactory
Returns:
dispatcher that does the actual dispatching

releaseDialog

protected abstract void releaseDialog(Dialog dialog)
Factory method to implement by subclasses to release a dialog.