Package spin.off
Class DialogDispatcherFactory
java.lang.Object
spin.off.DialogDispatcherFactory
- All Implemented Interfaces:
DispatcherFactory
- Direct Known Subclasses:
ConcealedDialogDispatcherFactory,RevealedDialogDispatcherFactory
Abstract base class for factories that dispatch events with
java.awt.Dialogs. Shows how events can be dispatched with
standard AWT.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected classDispatcher withDialog. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract DialogFactory method to implement by subclasses to aquire a dialog.Create a dispatcher.protected abstract voidreleaseDialog(Dialog dialog) Factory method to implement by subclasses to release a dialog.
-
Constructor Details
-
DialogDispatcherFactory
public DialogDispatcherFactory()
-
-
Method Details
-
createDispatcher
Create a dispatcher.- Specified by:
createDispatcherin interfaceDispatcherFactory- Returns:
- dispatcher that does the actual dispatching
-
aquireDialog
Factory method to implement by subclasses to aquire a dialog.- Returns:
- dialog
-
releaseDialog
Factory method to implement by subclasses to release a dialog.- Parameters:
dialog- the dialog to release
-